PropertyChaining.OnStop<T>
Extension Method in PropertyChaining
Declaration
public static T OnStop<T>(this T tween, TweenCallback callback)
where T : Tween
Description
Sets the callback to invoke when the tween is stopped.
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. |