コード例 #1
0
 public void StopRoll(UICompass.Power iPower)
 {
     SoundUtils.PlaySE(SEFIleInfos.SE_031);
     if (iPower != UICompass.Power.Low)
     {
         if (iPower == UICompass.Power.High)
         {
             this._uiBase.get_transform().LTRotateAroundLocal(Vector3.get_back(), this.targetCompassPoint - this.nowCompassPoint + (float)(360 * XorRandom.GetILim(3, 4)) - 90f, 2f).setEase(LeanTweenType.easeOutElastic).setOnComplete(delegate
             {
                 Dlg.Call(ref this._actOnStopCompass);
             });
         }
     }
     else
     {
         this._uiBase.get_transform().LTRotateAroundLocal(Vector3.get_back(), this.targetCompassPoint - this.nowCompassPoint + (float)(360 * XorRandom.GetILim(2, 3)) - 90f, 2f).setEase(LeanTweenType.easeOutQuad).setOnComplete(delegate
         {
             Dlg.Call(ref this._actOnStopCompass);
         });
     }
 }
コード例 #2
0
 private void OnStopRollCompass(UICompass.Power power)
 {
     this._uiCompass.StopRoll(power);
 }
コード例 #3
0
 private void OnStopRollCompass(UICompass.Power power)
 {
     Dlg.Call(ref _actOnStopRollCompass, power);
 }