Added hud buttons, fixed river generation, v1.2.0

This commit is contained in:
Nicola Sovic
2022-04-08 17:15:48 +02:00
parent 16568360a0
commit 8266248281
20 changed files with 1399 additions and 1540 deletions

View File

@@ -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();