Exemplo n.º 1
0
 public void CheckHp()
 {
     if (teamHp < 0 && inFuctionTime == 0)
     {
         checkGameOver = false;
         Debug.Log(inFuctionTime + "///" + this.gameObject.name);
         PlayerScript.Gameover();
         CrafterScript.Gameover();
         inFuctionTime++;
         StartCoroutine(stageManager.SlowDown(2.2f, false));
     }
 }