示例#1
0
        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();
        }
示例#2
0
        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();
        }