UxrAnimatedTransform.StopAll Method (GameObject, Boolean)
Stops the position/rotation/scaling animations on an object if it has an UxrAnimatedTransform component currently attached.
Namespace: UltimateXR.Animation.Transforms
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static void StopAll(
GameObject gameObject,
bool restoreOriginal = true
)
Parameters
- gameObject
- Type: GameObject
Target GameObject - restoreOriginal (Optional)
- Type: System.Boolean
Whether to reset the position/rotation/scale values to the state before the animation started
See Also
Reference
UxrAnimatedTransform Class
StopAll Overload
UltimateXR.Animation.Transforms Namespace