#if UNITY_2019_4_OR_NEWER using StansAssets.Foundation.Editor; using UnityEditor; using UnityEngine.UIElements; namespace StansAssets.Plugins.Editor { /// /// Base window tab implementation for /// public abstract class BaseTab : VisualElement { /// /// Created tab with the content of provided uxml file. /// /// Project related uxml/uss file path without extensions. protected BaseTab(string path) { UIToolkitEditorUtility.CloneTreeAndApplyStyle(this, path); } /// /// Tab root. /// protected VisualElement Root => this; } } #endif