void HandleEchapKeyPress()
 {
     if (keyEventController.IsKeyPressed(menuToggleKey))
     {
         keyEventController.AllocateKeyPress(menuToggleKey);
         ToggleMenu();
     }
 }
 // Update is called once per frame
 void Update()
 {
     if (IsDialogActive && keyEventController.IsKeyPressed(KeyCode.Space))
     {
         keyEventController.AllocateKeyPress(KeyCode.Space);
         DisplayNextOrClose();
     }
 }
 protected void OnTriggerStay2D(Collider2D other)
 {
     if (other.gameObject.name == "Player" &&
         keyEventController.IsKeyPressed(KeyCode.Space) &&
         !DialogManager.isReading &&
         CanStartDialog())
     {
         keyEventController.AllocateKeyPress(KeyCode.Space);
         StartOwnDialog();
     }
 }