public void ToggleUI()
        {
            if (_gizmo != null)
            {
                _gizmo.SetMouseOverGizmo(true);
            }

            if (_isVisible)
            {
                _isVisible = false;

                if (_inputPanel != null)
                {
                    Destroy(_inputPanel.gameObject);
                }

                _inputPanel = null;

                if (_pointer != null)
                {
                    _pointer.Terminate();
                }

                InputLockManager.RemoveControlLock(controlLock);

                _locked = false;
            }
            else
            {
                _isVisible = true;

                if (_inputPanel != null)
                {
                    DestroyImmediate(_inputPanel.gameObject);
                }

                openUI();

                _startDeltaV = _node.DeltaV;

                attachUI();

                reposition();

                if (_showLines)
                {
                    attachPointer();
                }

                UpdateIncrements();
            }
        }
        private void openUI()
        {
            if (ManeuverLoader.InputPrefab == null)
            {
                return;
            }

            _inputPanel = Instantiate(ManeuverLoader.InputPrefab).GetComponent <ManeuverInput>();

            if (_inputPanel == null)
            {
                return;
            }

            _inputPanel.transform.SetParent(UIMasterController.Instance.appCanvas.transform, false);

            _inputPanel.gameObject.SetActive(true);
        }