常用方法
常用方法
常用方法
常用方法
void OnCollisionEnter2D(Collision2D other) { if (other.gameObject.tag == "Player") { player.Death(); } }
void OnCollisionEnter2D(Collision2D other) { if (other.gameObject.tag == "Player") { player.Death(); } }