Exemple #1
0
 private void OnEnable()
 {
     instance = this;
     on       = EditorPrefs.GetBool("toggle", true);
     m_On     = on;
     path     = "Assets/PGUI/Texture/Icon/bg_01.png";
     m_bg     = GameObject.Instantiate(AssetDatabase.LoadAssetAtPath <Texture>(path));
     Init();
     EditorApplication.hierarchyWindowChanged += Init;
 }
Exemple #2
0
 public LayoutNodeManager()
 {
     instance = this;
 }