void OnClick() { // 「Stageserect」シーンに遷移する //SceneManager.LoadScene("Title"); SceneMovement.openWithBackGround("Title"); }
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; } }
private void Awake() { Screen.SetResolution(768, 1024, false); //SceneManager.LoadScene("Title"); SceneMovement.openWithBackGround("Title"); }