make a variable say:
var pause:Boolean = false;
When you click the button make pause=true.
if(pause){
//your whole game engine
}
just make everything happen only when pause is true
|
Results 1 to 2 of 2
Thread: Pause MenuThreaded View
|
Click Here to Expand Forum to Full Width |