Skip to content

Commit

Permalink
#586 fix bug: merky moving while the menu is open
Browse files Browse the repository at this point in the history
  • Loading branch information
shieldgenerator7 committed Jul 14, 2024
1 parent 5b2f601 commit 3ac3ed9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Assets/Scripts/Managers/MenuManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,14 @@ private void Start()
transform.position = player.transform.position;
transform.rotation = player.transform.rotation;
startFrame.frameCamera();
Managers.Time.setPause(this, true);
}

private void OnDestroy()
{
Managers.Time.setPause(this, false);
}//

public void processTapGesture(Vector3 pos)
{
foreach (MenuFrame mf in frames)
Expand Down

0 comments on commit 3ac3ed9

Please sign in to comment.