예제 #1
0
 void attack()
 {
     if (player != null)
     {
         player.AddHp(damage);
     }
     player = null;
     gameObject.SetActive(false);
 }