- Home /
simple error messages, need help with them.
hello noob here using tutorials from brackeys.com to get started on making games, im not good at coding and i'm wanting to get better. i followed his tutorial exactly with the coding but it seems unity doesn't like it, all the error messages i don't understand and i can't fix it could someone help me with the coding and error messages?
image included of errors and coding
Try "Horizontal" ins$$anonymous$$d of using the multiply operator
Answer by robertbu · Aug 14, 2014 at 06:34 PM
Please don't post code or error messages as images. Post the code as text and use the 101/010 button to format, and include a copy of the error message from the console. Your problem is that you are using an asterisks around your 'Horizontal' instead of double quotes. The line should be:
var rotation : float = Input.GetAxis("Horizontal") * RotationSpeed;
thank you, im future if i need to ask question i will take care to format properly
Your answer
Follow this Question
Related Questions
Semi colon placement? unity error message 2 Answers
Ball jumping mechanic, scrip errors. 1 Answer
Can someone help me fix my Javascript for Flickering Light? 6 Answers
Setting Scroll View Width GUILayout 1 Answer
BCE0049 error with network script 0 Answers