public void OnEnable() { window = this; window.minSize = new Vector2(350, 250); toolCfg = ToolsConfigManager.Instance; noteStyle = new GUIStyle(); noteStyle.normal.textColor = Color.red; noteStyle.fontStyle = FontStyle.Bold; }
public void OnDisable() { window = null; toolCfg = null; noteStyle = null; }