private void OnEdit_EditGraphModel() { EditModelPopUp.Open(); }
/// <summary> /// Open a popup window /// </summary> public static void Open() { popup = GetWindow <EditModelPopUp>(true, "Edit Model Popup"); popup.maxSize = popup.minSize = new Vector2(300, 120); model = ChainEditorWindow._win.graph.model; }