public static void SetMainThreadOnlyCallbacks(bool mainThreadOnly) { alljoin_unity_set_deferred_callback_mainthread_only(mainThreadOnly ? 1 : 0); }