PropertyChaining.SetEventHandler<T>
Extension Method in PropertyChaining
Declaration
public static T SetEventHandler<T>(this T tween, ITweenEventHandler eventHandler)
where T : Tween
Description
Sets the event handler on the tween.
Type Parameters
T | The type of the tween. |
Parameters
tween | The tween to assign the event handler to. |
eventHandler | The event handler to assign. |
Returns
T | The tween itself to allow for chaining. |