常用方法
常用方法
常用方法
常用方法
private void OnCollisionEnter2D(Collision2D col) { if (col.gameObject.tag == "Player") { spawner.DeletePoints(gameObject); } }
private void OnCollisionEnter2D(Collision2D col) { if (col.gameObject.tag == "Player") { spawner.DeletePoints(gameObject); } }