PropertyChaining.SetRecyclable<T>
Extension Method in PropertyChaining
Declaration
public static T SetRecyclable<T>(this T tween, bool recyclable = true)
where T : TweenDescription
Sets the tween to be recycled after being completed.
Type Parameters
| T | The type of the tween. |
Parameters
| tween | The tween to recycle. |
| recyclable | True if the tween is to be recycled. |
Returns
| T | The tween itself to allow for chaining. |