PropertyChaining.SetTarget<T, U>

Extension Method in PropertyChaining

Declaration

public static Tweener<T, U> SetTarget<T, U>(this Tweener<T, U> tween, T target)

Description

Sets the target object of the tween.

Type Parameters

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

Parameters

tweenThe tween to assign the target to.
targetThe target object to tween.

Returns

TweenerTThe tween itself to allow for chaining.