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