Added hud buttons, fixed river generation, v1.2.0
This commit is contained in:
@@ -2,6 +2,7 @@ using Assets.Scripts;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
public class Controls : MonoBehaviour
|
||||
{
|
||||
@@ -25,6 +26,7 @@ public class Controls : MonoBehaviour
|
||||
{
|
||||
if (!player.GetComponent<Player>().takeDamage(0))
|
||||
{
|
||||
EventSystem.current.SetSelectedGameObject(null);
|
||||
if (!uihandler.isPlayerInFight())
|
||||
{
|
||||
checkNormalControls();
|
||||
|
||||
Reference in New Issue
Block a user