Example #1
0
 private void OnHeroDefeat()
 {
     Lives.ChangeValue(-1);
     if (Lives.value > Lives.minValue)
     {
         onRespawn.Invoke(Hero);
     }
 }