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

TThe type of the tween.

Parameters

tweenThe tween to auto kill.
autoKillTrue if the tween is to be killed automatically.

Returns

TThe tween itself to allow for chaining.