Version: 2021.3

Application.RunningOnUIThread

切换到手册
public static bool RunningOnUIThread ();

描述

如果在 UI 线程上运行,返回 true。

有关 UI 和应用程序线程的更多信息,请查看此处