PropertyChaining.SetSceneIndex<T>

Extension Method in PropertyChaining

Declaration

public static T SetSceneIndex<T>(this T tween, int index)
    where T : Tween

Description

Sets the scene index of the tween to the given value.

Type Parameters

TThe type of the tween.

Parameters

tweenThe tween to assign the scene index to.
indexThe scene index to set.

Returns

TThe tween itself to allow for chaining.