internal static void OpenWindow() { StyleListWindow _window = GetWindow <StyleListWindow>(false); _window.titleContent = new GUIContent("UI Style List"); StyleListCenter.Start(); }
internal void OnEnable() { PResourceManager.SetDefaultResourcePath("Assets/Res/Scripts/Editor/res/"); StyleListCenter.Start(); PPaintCenter.ClientRepaints -= Repaint; PPaintCenter.ClientRepaints += Repaint; }