Question by
J_Zip · Jan 13, 2016 at 10:21 AM ·
unity 5visualstudiospace shooter
My laser bolts are not working in space shooter. If someone could help, that would be great!
I am using Unity 5 and Visual studio 2010. My code is identical to the video but is not working. As the video says, even though there is no shooting script currently, if you drag the prefab into the hierarchy it will shoot. But for me it just stands still. I have looked at it again and again but can see no error. Please help!
capture.png
(7.3 kB)
Comment
Answer by corn · Jan 13, 2016 at 11:11 AM
There's a typo, it should be void Start()
, not void start()
. C# is case-sensitive.
Your answer
![](https://koobas.hobune.stream/wayback/20220612055729im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity 5+ compatibility with VS2012 - ? 0 Answers
Won't fire when switching weapons? 0 Answers