コード例 #1
0
 private LTDescr Show()
 {
     TitleUtils.PlayOpenDifficultyVoice();
     return(this.panel.get_transform().LTValue(0f, 1f, 0.5f).setEase(LeanTweenType.linear).setOnUpdate(delegate(float x)
     {
         this.panel.alpha = x;
     }));
 }
コード例 #2
0
 private void ChangeFocus(int nIndex, bool isPlaySE)
 {
     if (isPlaySE)
     {
         TitleUtils.PlayDifficultyVoice(this._listDifficultyBtn.get_Item(this._nIndex).difficultKind, false, null);
     }
     this._listDifficultyBtn.ForEach(delegate(UIDifficultyBtn x)
     {
         x.isFocus = (x.index == nIndex);
     });
 }
コード例 #3
0
 private void ChangeFocus(int nIndex, bool isPlaySE)
 {
     if (isPlaySE)
     {
         TitleUtils.PlayDifficultyVoice(_listDifficultyBtn[_nIndex].difficultKind, isDecide: false, null);
     }
     _listDifficultyBtn.ForEach(delegate(UIDifficultyBtn x)
     {
         x.isFocus = ((x.index == nIndex) ? true : false);
     });
 }
コード例 #4
0
 private void OnDecideDifficulty(DifficultKind iKind)
 {
     _listDifficultyBtn.ForEach(delegate(UIDifficultyBtn x)
     {
         x.toggle.enabled = false;
     });
     _isInputPossible = false;
     _uiInvisibleCollider.button.enabled = false;
     SoundUtils.PlaySE(SEFIleInfos.CommonEnter1);
     TitleUtils.PlayDifficultyVoice(iKind, isDecide: true, delegate
     {
         Dlg.Call(ref _actOnDecideDifficulty, iKind);
     });
     Observable.FromCoroutine((UniRx.IObserver <bool> observer) => PlayDecideAnimation(observer)).Subscribe(delegate
     {
     }).AddTo(base.gameObject);
 }