This commit is contained in:
brausjonas
2023-04-15 00:19:07 +02:00
parent 7e9d715574
commit 95e4d9d0fd
11 changed files with 62 additions and 9 deletions
@@ -24,6 +24,8 @@ public class NoPlayablePlayer : Player
private Vector3 useLess = new Vector3();
private bool checkDoubleDice = false;
public TMP_Text textName;
//Animation:
private Vector3 lastPosAnim = Vector3.zero;
@@ -97,6 +99,7 @@ public class NoPlayablePlayer : Player
public void Wurfeln(int wurfelZahl)
{
textName.gameObject.SetActive(true);
diceScript.SetMaterial(0);
jumpRequest = true;