static void InjectAll() { var injectionStatus = EditorPrefs.GetInt(Application.dataPath + "WaitForInjection", 0); if (Application.isPlaying || EditorApplication.isCompiling || injectionStatus == 0) { return; } bool bInjectInterupted = !LoadBlackList() || ToLuaMenu.UpdateMonoCecil(ref EnableSymbols) != 0 || !LoadBridgeEditorInfo(); if (!bInjectInterupted) { CacheInjectableTypeGroup(); Inject(); AssetDatabase.Refresh(); } }