常用方法
常用方法
常用方法
常用方法
private void OnTriggerEnter(Collider other) { if (other.tag == "Player") { if (UpdateInfo(other.gameObject.GetComponent <Player>())) { os.DestoryPowerup(gameObject); } } }
private void OnTriggerEnter(Collider other) { if (other.tag == "Player") { if (UpdateInfo(other.gameObject.GetComponent <Player>())) { os.DestoryPowerup(gameObject); } } }