PropertyChaining.OnComplete<T>
Extension Method in PropertyChaining
Declaration
public static T OnComplete<T>(this T tween, TweenCallback callback)
where T : Tween
Description
Sets the callback to invoke when the tween is completed.
Type Parameters
T | The type of the tween. |
Parameters
tween | The tween to assign the callback to. |
callback | The callback to invoke. |
Returns
T | The tween itself to allow for chaining. |