|
I have this script attached to my project. It's working but not fully. When i've paused the game once then unpaused it, It cannot be turned on and off again. Is there any way to make this script work permanently?
Would be great with a quick answer, Up-Vote awaits! :)
(comments are locked)
|
|
Once pauseToggle is true, you're never unsetting it! You want to flip the pauseToggle boolean every time KeyCode.Escape is pressed, so move it out of the ifcheck for whether or not it's already paused. Try this: Omg, thats true -.-' Now i got annoyed by myself! How could i've missed that... However, the script is working now. Thank you very much Marowi! Up-Vote ;)
Apr 02 '11 at 02:08 AM
N0tiC
No troubles - sometimes you need fresh eyes to look at a problem!
Apr 02 '11 at 02:13 AM
Marowi
(comments are locked)
|
