PropertyChaining.OnLoop<T>

Extension Method in PropertyChaining

Declaration

public static T OnLoop<T>(this T tween, TweenCallback callback)
    where T : Tween

Description

Sets the callback to invoke when the tween is looped.

Type Parameters

TThe type of the tween.

Parameters

tweenThe tween to assign the callback to.
callbackThe callback to invoke.

Returns

TThe tween itself to allow for chaining.