- Home /
Why is the Mover script blocking movement in Space Shooter?
After I add the Mover script to the Bolt GameObject the game does not run. The complete scene moves when I use the keys, but nothing happens in the Game view. What am I doing wrong?
Answer by xxmariofer · Jan 27, 2019 at 05:24 PM
We cant help you without knowing what the exact problen is, but if the scene moves maybe you are moving vamera too so camera view doesnt change?
Answer by yz09tech · Jan 27, 2019 at 10:04 PM
Thank you for your answer. In the Scene view, the Background and the Player move. Nothing happens in the Game view. Based on your response, I checked and the camera doesn't move in either view. If I deactivate the Mover script in the Bolt object, the game runs ok (only the Player moves).
Your answer
Follow this Question
Related Questions
Do unused scripts affect on performance? 1 Answer
How Can I Change Sprite Max Size,Format and Compressor Quality in My Script 1 Answer
More scripts = more lag? 2 Answers
How to get the GameObject reference with using trees in script? 0 Answers
Should I pool an object that only spawn every second? 1 Answer