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