Item nicht während laufen auswählen
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user