Пример #1
0
    /// <summary>
    /// コンフィグの処理を行うアップデート関数
    /// </summary>
    public void ConfigUpdate()
    {
        //コンフィグを表示する
        if (!wConfig.isMaxScale && !wConfig.isChanging && KeyLoader.keyLoader.A)
        {
            ResetMenu();
            wConfig.StartExpansion();
            StartCoroutine(backShadow.StartFadeIn());
            SEMaster.Play(KeyInputSE.keyInoutSE.GetClip(KeyInputSE.Type.Decide));
        }
        //コンフィグが表示中
        if (wConfig.isMaxScale && !wConfig.isChanging)
        {
            //コンフィグのメニューUIのアウトライン
            configString.SetString(menu);
            configStringOl.SetOutline(menu, adjust);
            SetSound();
            SetKey();

            //選択メニュー変更
            if (adjust == SELECT_MENU)
            {
                if (!menuUIol.gameObject.activeSelf)
                {
                    menuUIol.gameObject.SetActive(true);
                }
                menuUIol.SetImage(menu);
                SelectMenu();
            }
            //選択設定の位置変更
            else
            {
                if (menuUIol.gameObject.activeSelf)
                {
                    menuUIol.gameObject.SetActive(false);
                }
                Setting();
            }

            //メニューを閉じる
            if (!data.Message.isChanging && !data.Message.isMaxScale &&
                KeyLoader.keyLoader.B)
            {
                wConfig.StartNarrow();
                StartCoroutine(backShadow.StartFadeOut());
                SEMaster.Play(KeyInputSE.keyInoutSE.GetClip(KeyInputSE.Type.Cancel));
            }
        }
    }
Пример #2
0
 /// <summary>
 /// クレジットのアップデート関数
 /// </summary>
 public void CreditUpdate()
 {
     if (!wCredit.isChanging && !wCredit.isMaxScale && KeyLoader.keyLoader.A)
     {
         SEMaster.Play(KeyInputSE.keyInoutSE.GetClip(KeyInputSE.Type.Decide));
         wCredit.StartExpansion();
         StartCoroutine(backShadow.StartFadeIn());
     }
     else if (!wCredit.isChanging && wCredit.isMaxScale && (KeyLoader.keyLoader.A || KeyLoader.keyLoader.B))
     {
         SEMaster.Play(KeyInputSE.keyInoutSE.GetClip(KeyInputSE.Type.Cancel));
         wCredit.StartNarrow();
         StartCoroutine(backShadow.StartFadeOut());
     }
 }
Пример #3
0
 /// <summary>
 /// "データ"のアップデート関数
 /// </summary>
 /// <returns>true:継続,false:終了</returns>
 public bool DeleteUpdate()
 {
     if (!message.isMaxScale && !message.isChanging && KeyLoader.keyLoader.A)
     {
         Delete();
         SEMaster.Play(KeyInputSE.keyInoutSE.GetClip(KeyInputSE.Type.Decide));
         message.StartExpansion();
         return(true);
     }
     else if (message.isMaxScale && !message.isChanging)
     {
         if (KeyLoader.keyLoader.A)
         {
             SEMaster.Play(KeyInputSE.keyInoutSE.GetClip(KeyInputSE.Type.Cancel));
             message.StartNarrow();
         }
         return(true);
     }
     else if (message.isChanging)
     {
         return(true);
     }
     return(false);
 }
Пример #4
0
 /// <summar>
 /// ポーズ画面を開く関数
 /// </summary>
 public void Open()
 {
     StartCoroutine(blackShadow.StartFadeIn());
     wPause.StartExpansion();
 }