Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RunningOnUIThread()

Checks whether the current thread is the UI thread.
Read time 1 minuteLast updated 19 hours ago

Definition

public static bool RunningOnUIThread()

Returns

Type

Description

boolTrue if the current thread is the UI thread. Otherwise, false.

Remarks

More information on UI and application threads can be found here.