예제 #1
0
 private void CheckForDeath()
 {
     if (health <= 0)
     {
         //die
         //Destroy(transform.parent.gameObject);
         uiScript.WinGame();
     }
 }