UxrAnimatedComponent<T>.Stop Method (GameObject, Boolean)

Stops the animation on an object if it has an UxrAnimatedComponent<T> component currently attached.

Namespace: UltimateXR.Animation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static void Stop(
	GameObject gameObject,
	bool restoreOriginal = true
)

Parameters

 

gameObject
Type: GameObject
Target GameObject
restoreOriginal (Optional)
Type: System.Boolean
Whether to reset the animated component to the state before the animation started

See Also

Reference

UxrAnimatedComponent<T> Class
Stop Overload
UltimateXR.Animation Namespace