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
Exception | Condition |
---|---|
ArgumentNullException | actions is a null reference (Nothing in Visual Basic) |
Exception | A delegate callback throws an exception. |
See Also
Reference
UxrMonoDispatcher Class
RunOnMainThread Overload
UltimateXR.Core.Threading Namespace