コード例 #1
0
    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;
        }
    }