protected override void OnFrameTick(float dt)
 {
     base.OnFrameTick(dt);
     if (gauntletLayer.Input.IsHotKeyReleased("Exit"))
     {
         vm?.ExecuteCancel();
     }
     else if (gauntletLayer.Input.IsHotKeyReleased("FinalizeChat"))
     {
         vm?.ExecuteDone();
     }
 }
Пример #2
0
 protected override void OnFrameTick(float dt)
 {
     base.OnFrameTick(dt);
     // || gauntletLayer.Input.IsGameKeyReleased(34)
     if (_gauntletLayer.Input.IsHotKeyReleased("Exit"))
     {
         _dataSource?.ExecuteCancel();
     }
     else if (_gauntletLayer.Input.IsHotKeyReleased("FinalizeChat"))
     {
         _dataSource?.ExecuteDone();
     }
 }