UxrMonoDispatcher.RunOnMainThread Method (Action[])

Runs code on the main thread.

Namespace: UltimateXR.Core.Threading
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static void RunOnMainThread(
	params Action[] actions
)

Parameters

 

actions
Type: System.Action[]
An variable set of actions that will run on the main thread sequentially.

Exceptions

ExceptionCondition
ArgumentNullExceptionactions is a null reference (Nothing in Visual Basic)
ExceptionA delegate callback throws an exception.

See Also

Reference

UxrMonoDispatcher Class
RunOnMainThread Overload
UltimateXR.Core.Threading Namespace