Пример #1
0
 void Update()
 {
     if (IsDead)
     {
         gameStateHandler.EndGame();
     }
 }