Version: 2018.2

Application.RunningOnAppThread

Switch to Manual
public static bool RunningOnAppThread ();

Description

Возвращает истину, если вы работаете на потоке приложения

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