|
so i'm in a scripting class and we are making a simple game. we are adding a pause button and i'm having trouble. i have it to the point where the GUI.toggle button shows up and pauses the game when you click it but i can't get it to unpause. when you pause the game all of the GUI dissapeares like its supposed to, i just don't know how to make it so that you can up pause it. Here is my script:
i've tried a few things like attempting to add an unpause with a GetKey and the like, but it doesn't ever seem to work exactly right. i've had it where it will print pause and resume in the console but won't actually pause.
(comments are locked)
|
|
so, all of a sudden, this script worked exactly like i wanted it to. makes me kinda mad actually....
(comments are locked)
|
|
This script is ok Your script makes Unity lag When you pause it
Mar 09 '11 at 10:01 PM
chrisPOD
(comments are locked)
|
