자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
private void OnTriggerEnter2D(Collider2D collision) { if (collision.tag == "Player") { AsteroidSpawner script = this.transform.parent.GetComponent <AsteroidSpawner>(); script.startStop(); } }