public MenuItem(GUIContent _content, bool _separator, bool _on, GenericMenu.MenuFunction _func) { this.content = _content; this.separator = _separator; this.on = _on; this.func = _func; }