Esempio n. 1
0
        public override void OnActivate(string searchContext, VisualElement rootElement)
        {
            base.OnActivate(searchContext, rootElement);

            EditorResources = EditorResources.LoadOrDefault();
            ResourcesEditor = new EditorResourcesEditor(EditorResources);
        }
Esempio n. 2
0
        public override void OnActivate(string searchContext, VisualElement rootElement)
        {
            base.OnActivate(searchContext, rootElement);

            ToResourcesButtonContent = new GUIContent($"Manage {EditorTitle} Resources");
            EditorResources          = EditorResources.LoadOrDefault();
            ResourcesEditor          = new EditorResourcesEditor(EditorResources);
        }