Item nicht während laufen auswählen
This commit is contained in:
1 parent
b5de07fbd4
commit
26596b12e4
5 files changed
+427
-420
No files matched your search
@@ -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