- Home /
pause for dastardly bannana
Sorry guys but I have another question.
how can I use this Pause script
http://www.unifycommunity.com/wiki/index.php?title=PauseMenu
with the dastardly bannana fps weapons project?
Answer by Jason_DB · Jul 08, 2010 at 05:18 PM
It could work with it without much trouble - since the Timescale is 0 most of the weapons stuff wouldn't happen. You could also put a static variable called "paused" in playerweapons.js, and turn it on when you pause. Then just put this at the top of any update function in a script you want to stop when pause:
if(playerweapons.paused){
return;
}
Your answer
Follow this Question
Related Questions
Making An Automatic Weapon from FPS Tutorial 0 Answers
Basic First Person Shooter Weapon Setup!?!?! 1 Answer
FPS recoil, lerp fighting 0 Answers
hi i just got the ultimate fps camera and it is not compatible with pausemenus 0 Answers
Weapon Prefab 0 Answers