Пример #1
0
        internal static void OpenWindow()
        {
            StyleListWindow _window = GetWindow <StyleListWindow>(false);

            _window.titleContent = new GUIContent("UI Style List");
            StyleListCenter.Start();
        }
Пример #2
0
 internal void OnEnable()
 {
     PResourceManager.SetDefaultResourcePath("Assets/Res/Scripts/Editor/res/");
     StyleListCenter.Start();
     PPaintCenter.ClientRepaints -= Repaint;
     PPaintCenter.ClientRepaints += Repaint;
 }