void OnTriggerExit(Collider c) { if ("Player".Equals(c.tag)) { PlanetManager.Over(); } }
private void lost(GameObject player) { //ガス惑星(じしん)の衝突制御 switch (HitType) { case 0: PlanetManager.Clear(); return; case 1: player.SetActive(false); this.gameObject.SetActive(false); PlanetManager.Over(); return; default: return; } }