Ejemplo n.º 1
0
        private void HandleMovement(Dictionary <InputType, InputData> inputs)
        {
            inputs.TryGetValue(InputType.Movement, out var movement);
            if (movement == null)
            {
                movementSystem.UpdateMovement(Vector2.zero);
                return;
            }

            movementSystem.UpdateMovement(movement.Vector2Value);
        }