UxrTween.Stop<T> Method (Behaviour, Boolean)
Stops the tweening animation on an object if it has a T component currently added.
Namespace: UltimateXR.Animation.UI
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static void Stop<T>(
Behaviour behaviour,
bool restoreOriginal = true
)
where T : UxrTween
Parameters
- behaviour
- Type: Behaviour
UI Component whose GameObject has the tween added - restoreOriginal (Optional)
- Type: System.Boolean
Whether to reset the animated component to the state before the animation started
Type Parameters
- T
- Type of UxrTween to stop
See Also
Reference
UxrTween Class
Stop Overload
UltimateXR.Animation.UI Namespace