PropertyChaining.SetRecyclable<T>

Extension Method in PropertyChaining

Declaration

public static T SetRecyclable<T>(this T tween, bool recyclable = true)
    where T : Tween

Description

Sets the tween to be recycled after being completed.

Type Parameters

TThe type of the tween.

Parameters

tweenThe tween to recycle.
recyclableTrue if the tween is to be recycled.

Returns

TThe tween itself to allow for chaining.