Hold enemy in scene, and show player keypad for input door p

Hello commonity,

im looking for stop enemy from attacking user, without restart it, and show a panel to recieve passkey, then every thing countinue, in its last state…

If you set the Time.timeScale variable to zero, game time will be frozen. However, the Update function and OnGUI will still be called, so you can get user input.