Item nicht während laufen auswählen

This commit is contained in:
AliIbnAbiTalib
2023-03-28 21:20:50 +02:00
parent b5de07fbd4
commit 26596b12e4
5 changed files with 427 additions and 420 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ public abstract class Player : MonoBehaviour
{
public string name = "";
public bool activated = false;
protected bool wurfelt = false;
public bool wurfelt = false;
public GameObject camera;
protected Vector3 velocity = Vector3.zero;
+1 -1
View File
@@ -121,7 +121,7 @@ public class UIHandler : MonoBehaviour
currentPlayer = PlayablePlayer.GetCurrentInstance();
if(currentPlayer.activated)
if(currentPlayer.activated && !currentPlayer.wurfelt)
{
layout0.SetActive(false);
layout1.SetActive(false);