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

TThe type of the tween.

Parameters

tweenThe tween to assign the event handler to.
eventHandlerThe event handler to assign.

Returns

TThe tween itself to allow for chaining.