public LTDescr setOnComplete( Action onComplete ) { this._optional.onComplete = onComplete; this.hasExtraOnCompletes = true; return this; }
public override void ActionStart() { tweenDescriptor = LeanTween.moveLocal(ActionObject, GetMoveToPosition(), MoveToActionData.time); tweenDescriptor.setEase(EaseType); tweenDescriptor.setOnComplete(OnFinish); }