Beispiel #1
0
        void Clear()
        {
            ClearImg.gameObject.SetActive(true);
            SystemSEscript systemSE = this.GetComponent <SystemSEscript>();

            systemSE.ClearSound();
            Invoke("Restart", 6.0f);
        }
Beispiel #2
0
    void clear()
    {
        BossFlag = 5;
        ClearImg.gameObject.SetActive(true);
        SystemSEscript systemSE = Maincamera.GetComponent <SystemSEscript>();

        systemSE.ClearSound();
    }
Beispiel #3
0
        //ゲームオーバー:カメラを止める+ゲームオーバーの画像と音
        public void GameOver()
        {
            CameraMoveScript.CameraCanMove = 0;
            GameOverImg.gameObject.SetActive(true);
            SystemSEscript systemSE = this.GetComponent <SystemSEscript> ();

            systemSE.GameOverSound();
            Invoke("Restart", 6.0f);
        }
    void GameOver()
    {
        GodTouches.PlayerMoveScript.playerYspeed = 0;
        this.gameObject.SetActive(false);
        GameOverImg.gameObject.SetActive(true);
        SystemSEscript systemSE = Maincamera.GetComponent <SystemSEscript>();

        systemSE.GameOverSound();
    }
        void SoundWind()
        {
            SystemSEscript seS = Maincamera.GetComponent <SystemSEscript> ();

            seS.WindSound();
        }