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
T | The type of the tween. |
Parameters
tween | The tween to assign the scene index to. |
index | The scene index to set. |
Returns
T | The tween itself to allow for chaining. |