static void UpdateCheckLoop() { // Go on until the update check has been completed if (!CheckForUpdates ()) { EditorApplication.update -= UpdateCheckLoop; } }