예제 #1
0
  void OnClick()
  
 {
     // 「Stageserect」シーンに遷移する
     //SceneManager.LoadScene("Title");
     SceneMovement.openWithBackGround("Title");
 }
예제 #2
0
    public override void Execute()
    {
        float nowTime       = 0.0f;
        float sceneMoveTime = 3.0f;

        Debug.Log("Clear");
        switch (clearSceneState)
        {
        case CLSCENESTATE.INITIALIZE:
            ref_gameManager.ClearUI.SetActive(true);
            clearSceneState = CLSCENESTATE.TERMINATED;
            break;

        case CLSCENESTATE.LOGO:
            if (nowTime >= sceneMoveTime)
            {
                clearSceneState = CLSCENESTATE.TERMINATED;
            }
            break;

        case CLSCENESTATE.TERMINATED:
            DataKeeper.score = ref_gameManager.score;
            //SceneManager.LoadScene(/*リザルトシーン*/);
            SceneMovement.openWithBackGround("Rizalute");
            Debug.Log("Terminated");
            break;
        }
    }
예제 #3
0
 private void Awake()
 {
     Screen.SetResolution(768, 1024, false);
     //SceneManager.LoadScene("Title");
     SceneMovement.openWithBackGround("Title");
 }