Example #1
0
 public void OnEventDie()
 {
     stocks.AdjustStocks(-1);
     Debug.Log(stocks.GetStocks());
     if (stocks.GetStocks() <= 0)
     {
         Debug.Log("LOL game over noob");
     }
     else
     {
         manager.Respawn(controller);
         health.ResetHealth();
     }
 }