- Home /
problem with Raygun
i have made a raygun for my cartoony zombie game but every time i run the game disappears and the raygun prefab in the hierarchy view becomes gray along with everything in it
i dunno how to solve it, plz help me
Comment
Best Answer
Answer by efge · Mar 20, 2011 at 12:43 PM
It sounds that your raygun GameObject is disabled or deactivated by script, something like:
raygun.active = false;
//or
gameObject.active = false;
Your answer
![](https://koobas.hobune.stream/wayback/20220613113818im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
FPS animations for different purposes? 1 Answer
Why is unity lagging so much? 1 Answer
weapon sprint animation problem... 1 Answer
zombie prefab 1 Answer