예제 #1
0
 void Update()
 {
     if (transform.childCount == 0)
     {
         gameControllerScript.CentipedeLose();
         Destroy(gameObject);
     }
 }