Documentation

Unity Engine

Download Unity

Unity Engine

RunningOnUIThread()

Checks whether the current thread is the UI thread.
Read time 1 minuteLast updated 22 days 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.