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