private void UpdateInputField(float deltaTime) { if (InputControl.Input.Clicked(Consts.MOUSEBUTTON_LEFT)) { if (_inputName.CheckInsideUI(_inputName.GetPosition(), _inputName.GetBoundingBox()) && !_inputName.IsEnable()) { DisableInputFields(); _inputName.CMD(Consts.UI_CMD_ENABLE); } if (_inputHost.CheckInsideUI(_inputHost.GetPosition(), _inputHost.GetBoundingBox()) && !_inputHost.IsEnable()) { DisableInputFields(); _inputHost.CMD(Consts.UI_CMD_ENABLE); } if (_inputPort.CheckInsideUI(_inputPort.GetPosition(), _inputPort.GetBoundingBox()) && !_inputPort.IsEnable()) { DisableInputFields(); _inputPort.CMD(Consts.UI_CMD_ENABLE); } } }