On this pageSystemExtensions.IsMainThreadDeclaration#public static bool IsMainThread()CopyDescription#Check if currently inside the main threadUsage#Exampleusing NullSave.GDTK;using UnityEngine; public class Example : MonoBehaviour{ public void ExampleMethod() { bool result = SystemExtensions.IsMainThread(); }}Copy