자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
void OnTriggerExit(Collider other) { if (other.tag == "Hostile") { score.AddMiss(); } Destroy(other.gameObject); Debug.Log("object destroyed", this); }