Error message with script
I can't seem to figure out what is wrong with my code
screen-shot-2016-01-05-at-64046-pm.png
(61.7 kB)
Comment
Answer by corn · Jan 05, 2016 at 06:21 PM
There's no semicolon at the end of line 6, it should be private int count;
On a side note, you can also declare and initialize count at the same time like that : private int count = 0;
rather than setting count to 0 in Start.
Your answer
Follow this Question
Related Questions
rigidbody2D's velocity not working 1 Answer
How do you get the leap motion to work with an older version of unity 0 Answers
My bolt isn't respawning in game Its driving me crazy i have been at it for 2 days !! 1 Answer
Unexpected 'Void' expecting 'class' 0 Answers
ArgumentOutOfRange: Argument is out of range Parameter name: index 0 Answers