internal void OnEnable()
 {
     PResourceManager.SetDefaultResourcePath("Assets/Res/Scripts/Editor/res/");
     ActionSyncCenter.Start();
     PPaintCenter.ClientRepaints -= Repaint;
     PPaintCenter.ClientRepaints += Repaint;
     wantsMouseMove = true;
 }
 internal void OnDestroy()
 {
     ActionSyncCenter.stop();
 }
 internal void OnDisable()
 {
     PPaintCenter.ClientRepaints -= Repaint;
     ActionSyncCenter.stop();
 }
 internal void OnGUI()
 {
     ActionSyncCenter.OnGUI(position, focusedWindow == this);
 }