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
| Exception | Condition |
|---|---|
| ArgumentNullException | action 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