文档

Unity Engine

Download Unity

Unity Engine

RunningOnUIThread()

Checks whether the current thread is the UI thread.
阅读时间1 分钟最后更新于 22 天前

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.