This version of Unity is unsupported.

Application.RunningOnUIThread

Declaration

public static bool RunningOnUIThread();

Description

Returns true if you're running on UI thread.

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