

- create variables,
- bool to check whether the menu is on or not
- the menu itself
- in Update() method,
- when ESC is pressed,
- if the menu has not been opened,
- stop the time by using timeScale
- update the bool value
- turn on the cursor
- turn on the menu(inventoryMenu.SetActive(true))
- if the menu has been opened
- turn off the Menu
- turn off the cursor
- let the time go
- if the menu has not been opened,
- when ESC is pressed,




- when the menu is up,
- we can still move Player’s Camera
- the NPC still moves (without animaiton) because the destination object is still being updated

- in Update() method,
- make the transform of AI’s destination object relative to Time.timeScale
- when timeScale is 0 there is no update in the object

- in Update() method,
- add code to enable or disable Player

