コード例 #1
0
        /// <summary>
        /// <para>Eng. Requested "New Game" in Main Menu. </para>
        /// <para>Kor. 메인 메뉴 상태에서, 새 게임 저장을 요청받았습니다. </para>
        /// </summary>
        public void PushedNewGame()
        {
            string[] _keys = new string[3];
            _keys[0] = _leftIllustKey;
            _keys[1] = _centerIllustKey;
            _keys[2] = _rightIllustKey;

            float[] _colors = new float[3];
            _colors[0] = _speakerLeftIllustration.color.a;
            _colors[1] = _speakerCenterIllustration.color.a;
            _colors[2] = _speakerRightIllustration.color.a;

            bool[] _activated = new bool[3];
            _activated[0] = _speakerLeftIllustration.GetComponent <SpeakerIllustrationPosition>().IsActivated;
            _activated[1] = _speakerCenterIllustration.GetComponent <SpeakerIllustrationPosition>().IsActivated;
            _activated[2] = _speakerRightIllustration.GetComponent <SpeakerIllustrationPosition>().IsActivated;

            SaveLoadSlotManager.GetInstance().RequestSaveSlot(_currentScript, Enum.SaveLoadSlotManagerState.NewGameSave, _keys, _colors, _activated);
        }
コード例 #2
0
 /// <summary>
 /// <para>Eng. Pushed "Load" Button in Escape Menu State. </para>
 /// <para>Kor. ESC 메뉴 상태에서, 불러오기 버튼을 눌렀습니다. </para>
 /// </summary>
 public void PushedEscapeMenuLoadButton()
 {
     _gameState = GameState.SaveLoad;
     SaveLoadSlotManager.GetInstance().RequestLoadSlot();
 }
コード例 #3
0
ファイル: MainMenuManager.cs プロジェクト: 3lueDahlia/Vinove
 /// <summary>
 /// <para>Eng. Pushed "Load" Button in Main Menu State. </para>
 /// <para>Kor. 메인 메뉴 상태에서, "불러오기" 버튼을 눌렀습니다. </para>
 /// </summary>
 public void PushedMainMenuLoadButton()
 {
     InGameManager.GetInstance().GameState = Enum.GameState.SaveLoad;
     SaveLoadSlotManager.GetInstance().RequestLoadSlot();
 }