Example #1
0
    void ChangeScene()
    {
        //SceneManager.LoadScene("Stage01");
        string s;

        s = TargetSceneNumber.ToString();

        GameMgr.ChangeScene("Stage" + s);

        doormgr.DoorMoveflag = !DoorMoveflag;
        doormgr.TargetDoorNo = TargetDoorNumber;
        //マグロ
        audio.Play(3);
        if (ClearDoor)
        {
            GameMgr g = GameObject.Find("G_MGR").GetComponent <GameMgr>();
            g.GameClear();
        }
    }