private void AddDefaultTag() { string defaultTag = "DevelopmentOnly"; if (!UnityEditorInternal.InternalEditorUtility.tags.Contains(defaultTag)) { UnityEditorInternal.InternalEditorUtility.AddTag(defaultTag); } var defaultRemove = new RemoveTagData { buildTarget = BuildTarget.NoTarget, enable = true, runType = (int)RemoverState.Release, tag = defaultTag }; BuildObjectRemoverSettingsProvider.SaveSettings(new List <RemoveTagData>() { defaultRemove }); }
private void ApplyChanges() { BuildObjectRemoverSettingsProvider.SaveSettings(rowsData.Select(x => x.GetData()).ToList()); }