RunningOnUIThread()
Checks whether the current thread is the UI thread.
Read time 1 minuteLast updated 19 hours ago
Definition
- Type: Method
- Namespace: UnityEngine.WSA
- Assembly: UnityEngine.CoreModule
public static bool RunningOnUIThread()
Returns
Type | Description |
|---|---|
| bool | True if the current thread is the UI thread. Otherwise, false. |
Remarks
More information on UI and application threads can be found here.