UxrTween.StopAllInParentCanvas Method (Canvas, Boolean)

Stops all enabled tweens 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(
	Canvas canvas,
	bool restoreOriginal = true
)

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

See Also

Reference

UxrTween Class
StopAllInParentCanvas Overload
UltimateXR.Animation.UI Namespace