internal static void InvokeFocusChanged(bool focus) { bool flag = Application.focusChanged != null; if (flag) { Application.focusChanged(focus); } }