Exemplo n.º 1
0
        private static void PreBuild()
        {
            previousScriptingDefines_ = ScriptingDefinesManager.GetCurrentDefines();
            LocalizationOfflineCache.CacheBundledLocalizationTables();
            TMPLocalization.DownloadAndBakeAllUsedLocalizationCharactersIntoFonts();

            ScriptingDefinesManager.AddDefineIfNotFound("BUILT_WITH_BUILD_PIPELINE");
        }
        private static void AddScriptingDefineIfNotFound(string scriptingDefine)
        {
            bool addedDefine = ScriptingDefinesManager.AddDefineIfNotFound(scriptingDefine);

            if (addedDefine)
            {
                Debug.Log(string.Format("Added scripting define: {0}!", scriptingDefine));
            }
            else
            {
                Debug.Log(string.Format("Scripting define already defined, did not add: {0}!", scriptingDefine));
            }
        }
Exemplo n.º 3
0
 public static void PreBuildReleaseDemo()
 {
     PreBuildRelease();
     ScriptingDefinesManager.AddDefineIfNotFound("DEMO");
 }
Exemplo n.º 4
0
 // PRAGMA MARK - Public Interface
 public static void PreBuildQA()
 {
     PreBuild();
     ScriptingDefinesManager.AddDefineIfNotFound("DEBUG");
 }