using Phantom.XRMOD.ActionNotification.Runtime; using UnityEngine.UIElements; namespace Phantom.XRMOD.XRMODPackageTools.Editor { public class PropertiesView : VisualElement { public new class UxmlFactory : UxmlFactory { } public PropertiesView() { var tmp_PropertiesRenderer = new PropertiesRenderer(); Add(tmp_PropertiesRenderer); AddToClassList("full-vertical-view"); tmp_PropertiesRenderer.AddToClassList("full-vertical-view"); ActionNotificationCenter.DefaultCenter.AddObserver(_data => { tmp_PropertiesRenderer.Initialization(); }, nameof(EditingProjectCommand)); } } }