I was curious if you can actually pause every action in a scene, I’ve tried Time.timeScale = 0; it works… but my FPS prefab continues to follow the mouse even though everything isn’t moving… how would you guys go along fixing this?
Thanks
I’d work out all the scripts that require pausing, store a reference to them in a manager object, then use SendMessage() with a custom Pause and UnPause function to handle what each object does when you pause.
The reason your FPS script is still polling mouse input is that while you have set your timescale to 0, Input doesn’t rely on that timescale, and it still updates and sends input through to the classes, so you need to handle that, and other things I’m sure you will come across while testing.
Alright I got it, I just stopped everything when Global.Pause = true… it works.
Thanks, Murcho