Beispiel #1
0
 public void CmdReceiveEndGameMessage(bool endCond)
 {
     if (!this.EndFlag)
     {
         WinBarSingleton.resetInstance();
         if (endCond)
         {
             Instantiate(this.gameWinUI);
         }
         else
         {
             Instantiate(this.gameOverUI);
         }
         this.EndFlag = true;
     }
 }