Пример #1
0
 public void getDiceRoll()
 {
     if (!inMove)
     {
         getDadu = DC.PutarDadu();
         AC.playSFX(3);
         StartCoroutine(playDiceAnim());
         ButtonMaju.SetActive(false);
     }
 }
Пример #2
0
 public void moveToNext()
 {
     getDadu       = DC.PutarDadu();
     QG.yourScore += 1;
     if (currentPos + 1 + getDadu < TC.Tiles.Length)
     {
         currentPos += getDadu;
         //this.transform.position = TC.Tiles [currentPos].transform.position;
         DiceShow.text = "" + getDadu;
     }
     else
     {
         print("Finish");
     }
 }