Version: 2018.4
public static bool RunningOnAppThread ();

説明

アプリケーションスレッドで実行するときに true を返します。

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