Example #1
0
        public override void OnFadeOutDone()
        {
            isStarted         = true;
            GameParams.isMiss = false;

            //StarClean.StartClearedStage(GameParams.ClearedStageCount);
            baseStar.MakeSeaTexture();

            if (videoPlayer == null)
            {
                videoPlayer = GetComponent <VideoPlayer>();
            }

#if DEBUG_ENDING
            GameParams.Instance.toStageSelect = ToStageSelectType.Clear;
#endif

            UpdateStageName();
            SceneManager.SetActiveScene(gameObject.scene);
            base.OnFadeOutDone();
        }
Example #2
0
        public override void OnFadeOutDone()
        {
            isStarted         = true;
            GameParams.isMiss = false;
            audioSource       = GetComponent <AudioSource>();
            videoPlayer       = GetComponent <VideoPlayer>();

            //StarClean.StartClearedStage(GameParams.ClearedStageCount);
            baseStar.MakeSeaTexture();

#if DEBUG_ENDING
            GameParams.Instance.toStageSelect = ToStageSelectType.Clear;
#endif

            if (GameParams.Instance.toStageSelect != ToStageSelectType.NewGame)
            {
                StageSelectCamera.SetAnim(StageSelectCamera.AnimType.BackStandby);
            }

            UpdateStageName();
            SceneManager.SetActiveScene(gameObject.scene);
            base.OnFadeOutDone();
        }