UxrTween.StopAllInParentCanvas<T> Method (Canvas, Boolean)

Stops all enabled tweens of a given type that are in a given canvas.

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

Syntax

C#

public static void StopAllInParentCanvas<T>(
	Canvas canvas,
	bool restoreOriginal = true
)
where T : UxrTween

Parameters

 

canvas
Type: Canvas
Canvas to disable all enabled tweens from
restoreOriginal (Optional)
Type: System.Boolean
Whether to reset each animated component to the state before its animation started

Type Parameters

 

T
Type of UxrTweens to stop

See Also

Reference

UxrTween Class
StopAllInParentCanvas Overload
UltimateXR.Animation.UI Namespace