Example #1
0
 private void OnDisable()
 {
     m_Instance = null;
 }
Example #2
0
 private void OnEnable()
 {
     m_Instance  = this;
     m_NodeStyle = new GUIStyle();
     m_NodeStyle.normal.background = EditorGUIUtility.Load("builtin skins/darkskin/images/node1.png") as Texture2D;
 }