Question by
KrythonicalProductions · Jul 22, 2017 at 01:56 AM ·
codepage
my script has been breaking
script-is-breaking.png
(15.7 kB)
Comment
A little more detail on how it's breaking could be helpful. If it's just not compiling, based on your code, I would assume it's that random Vector3 on line 18. You can't have a type without an identifier or semicolon. I would assume that It should be something more like this:
Vector3 movement = new Vector3(moveHorizontal, 0, moveVertical);
Your answer
Follow this Question
Related Questions
rigidbody2D's velocity not working 1 Answer
Help with code for picking up objects 1 Answer
Unity "ArgumentExeption: The object you want to instantiate is null." need help. 0 Answers
Activate 2 gameobjects separate if there is Enemy tag C# 0 Answers
ArgumentOutOfRange: Argument is out of range Parameter name: index 0 Answers