// Update is called once per frame void Update() { moveHandler.Update(); foreach (KeyCode key in actualKeys) { if (Input.GetKeyDown(key)) { moveHandler.HandleInput(InputTypes.TypeKeyIsIn(key)); } } }