Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mafiesto4 committed Aug 29, 2018
1 parent b4c8b58 commit 1e87da8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions FlaxEditor/API/Editor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,11 @@ internal void Update()
{
_modules[i].OnUpdate();
}

if (Input.GetKeyDown(Keys.F6))
{
Simulation.RequestResumeOrPause();
}
}
catch (Exception ex)
{
Expand Down
4 changes: 0 additions & 4 deletions FlaxEditor/Windows/GameWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,6 @@ public override bool OnKeyDown(Keys key)
}
}
}
else if (key == Keys.F6)
{
Editor.Simulation.RequestResumeOrPause();
}

return base.OnKeyDown(key);
}
Expand Down

0 comments on commit 1e87da8

Please sign in to comment.