private void RenderActivateAllTagsButton() { if (GUILayout.Button(GetContentForActivateAllTagsButton(), GUILayout.Width(EditorGUILayoutEx.PreferedActionButtonWidth))) { UndoEx.RecordForToolAction(_prefabTagDatabase.GetAllPrefabTags()); _prefabTagDatabase.ActivateAllTags(); } }
private void AcquireFilteredPrefabTags() { PrefabTagDatabase prefabTagDatabase = PrefabTagDatabase.Get(); List <PrefabTag> prefabTags = prefabTagDatabase.GetAllPrefabTags(); _filteredTags = _prefabTagFilter != null?_prefabTagFilter.GetFilteredPrefabTags(prefabTags) : prefabTags; }