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); }); } }
private void OnStopRollCompass(UICompass.Power power) { this._uiCompass.StopRoll(power); }
private void OnStopRollCompass(UICompass.Power power) { Dlg.Call(ref _actOnStopRollCompass, power); }