public void EditNode(Node node) { // Create the node editing instance if needed if (_logicWindow == null) { _logicWindow = new NodeEditingWindow(ControlManager.Manager) { Resizable = true }; _logicWindow.Init(); _logicWindow.Closing += (sender, args) => LogicWindowClosed(args); ControlManager.Add(_logicWindow); } _logicWindow.CreateInterface(node); _logicWindow.Show(); EnableWorld(false); _reflectionArea.Show(); }
public void EditNode(Node node) { // Create the node editing instance if needed if (_logicWindow == null) { _logicWindow = new NodeEditingWindow(ControlManager.Manager) { Resizable = true }; _logicWindow.Init(); _logicWindow.Closing += (sender, args) => LogicWindowClosed(args); ControlManager.Add(_logicWindow); } _logicWindow.CreateInterface(node); _logicWindow.Show(); EnableWorld(false); _reflectionArea.Show(); }