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

TThe type of the tween.

Parameters

tweenThe tween to auto start.
autoStartTrue if the tween is to be started automatically.

Returns

TThe tween itself to allow for chaining.