Beispiel #1
0
        public void OnPreprocessBuild(BuildReport report)
        {
            CustomSettingsEditorPackage <ResourcesAssetEditorSettingsData> settings = ResourcesAssetEditorSettings.Settings;

            if (settings.Exists() && settings.GetData().UpdateAllGroupsOnBuild)
            {
                ResourcesAssetEditorUtility.UpdateAssetGroupAll();
            }
        }
        public void OnPreprocessBuild(BuildReport report)
        {
            CustomSettingsEditorPackage <ManagerSceneEditorSettingsData> settings = ManagerSceneEditorSettings.Settings;

            if (settings.Exists() && settings.GetData().UpdateAllGroupsOnBuild)
            {
                ManagerSceneEditorUtility.UpdateSceneGroupAll();
                AssetDatabase.SaveAssets();
            }
        }