public setOnComplete ( Action | ||
onComplete | Action | |
onCompleteParam | object | |
Результат | LTDescr |
public LTDescr setOnComplete( Action<object> onComplete, object onCompleteParam )
{
this._optional.onCompleteObject = onComplete;
this.hasExtraOnCompletes = true;
if(onCompleteParam!=null)
this._optional.onCompleteParam = onCompleteParam;
return this;
}
LTDescr::setOnComplete ( Action onComplete ) : LTDescr | |
LTDescr::setOnComplete ( Action |
public override void ActionStart() { tweenDescriptor = LeanTween.moveLocal(ActionObject, GetMoveToPosition(), MoveToActionData.time); tweenDescriptor.setEase(EaseType); tweenDescriptor.setOnComplete(OnFinish); }