PropertyChaining.SetGetter<T, U>

Extension Method in PropertyChaining

Declaration

public static Tweener<T, U> SetGetter<T, U>(this Tweener<T, U> tween, TweenGetter<T, U> getter)

Description

Sets the getter function of the tween.

Type Parameters

TThe type of object being tweened.
UThe type of parameter being tweened.

Parameters

tweenThe tween to assign the getter to.
getterThe getter function to set.

Returns

TweenerTThe tween itself to allow for chaining.