Esempio n. 1
0
        public void NewGameInitialize()
        {
            _gameState = GameState.InGame;
            _uiState   = InGameInterfaceDisplayState.Dialogue;

            // ----------------------- Vinove - Starter Scene -----------------------

            if (ErrorDetector.Instance.IsStringHasData(_currentVinove.StarterUID))
            {
                // ----------------------- Scene -----------------------
                _currentScene = _currentVinove.FindSceneWithUID(_currentVinove.StarterUID);

                // ----------------------- Scene - Starter Script -----------------------
                if (ErrorDetector.Instance.IsStringHasData(_currentScene.StarterUID))
                {
                    _currentScript = _currentScene.FindScriptWithUID(_currentScene.StarterUID);
                }
            }

            _speakerLeftIllustration.GetComponent <SpeakerIllustrationPosition>().SetDeactivated();
            _speakerCenterIllustration.GetComponent <SpeakerIllustrationPosition>().SetDeactivated();
            _speakerRightIllustration.GetComponent <SpeakerIllustrationPosition>().SetDeactivated();

            SyncInterface();
        }
Esempio n. 2
0
        /// <summary>
        /// <para>Eng. Func Ingame Manager Variables init to basic value. </para>
        /// <para>Kor. 인게임 매니저의 기본 값들을 초기화하는 함수입니다. </para>
        /// </summary>
        public void ManagerInitialize()
        {
            _gameState        = GameState.MainMenu;
            _uiState          = InGameInterfaceDisplayState.Dialogue;
            _progressState    = InGameProgressState.Idle;
            _needDisableClick = false;

            VinoveInitialize();
        }