Exemple #1
0
 void CheckForDeath()
 {
     if (transform.position.y < minHeight)
     {
         life.End(DeathType.fall);
     }
 }