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