コード例 #1
0
        private void MoveChange(Direction dir, InputEvent e)
        {
            _containerHud.Hide();
            _inventoryGui.Hide();

            if (e.KeyAction == KeyAction.Up)
            {
                RemoveMovement(dir);
            }
            else
            {
                AddMovement(dir);
            }
        }