示例#1
0
    public void NextStage() //Scenes in Build 순서 상 다음 순서의 씬으로 이동(즉, 나중에 Stage 순서대로 정리 필요)
    {
        Scene scene     = SceneManager.GetActiveScene();
        int   curSecene = scene.buildIndex;
        int   nextScene = curSecene + 1;

        currentSceneAnim.OutStartFadeAnim(nextScene);
        Time.timeScale = 1;
        // SceneManager.LoadScene(nextScene);
    }
示例#2
0
 public void OnTriggerEnter2D(Collider2D collision)
 {
     sceneAnim.OutStartFadeAnim(btnString);
 }
示例#3
0
 public void MoveMainScene()
 {
     sceneAnim.OutStartFadeAnim("stage_map_update");
     //SceneManager.LoadScene("stage_map_update");
 }