PropertyChaining.SetAutoKill<T>
Extension Method in PropertyChaining
Declaration
public static T SetAutoKill<T>(this T tween, bool autoKill = true)
where T : Tween
Description
Sets the tween to auto kill after being completed.
Type Parameters
T | The type of the tween. |
Parameters
tween | The tween to auto kill. |
autoKill | True if the tween is to be killed automatically. |
Returns
T | The tween itself to allow for chaining. |