private static void PreBuild() { previousScriptingDefines_ = ScriptingDefinesManager.GetCurrentDefines(); LocalizationOfflineCache.CacheBundledLocalizationTables(); TMPLocalization.DownloadAndBakeAllUsedLocalizationCharactersIntoFonts(); ScriptingDefinesManager.AddDefineIfNotFound("BUILT_WITH_BUILD_PIPELINE"); }
// PRAGMA MARK - ICommandLoader public ICommand[] Load() { List <ICommand> objects = new List <ICommand>(); foreach (string symbol in ScriptingDefinesManager.GetCurrentDefines()) { objects.Add(new ScriptingDefineCommand(symbol, executeAction_)); } return(objects.ToArray()); }