コード例 #1
0
 private void Kill()
 {
     sr.sprite = die;
     MakeLeader(false);
     dead = true;
     Destroy(sheepVisionCollider);
     Destroy(rb.GetComponent <BoxCollider2D> ());
     gameControllerObject.SheepDied();
 }