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(
	Action action
)

Parameters

 

action
Type: System.Action
Action to execute.

Exceptions

ExceptionCondition
ArgumentNullExceptionaction 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