Why is my script not working
I made a script that is supposed to control my animations in the same gameobject that has my animator. But, it won't recognize my animator or even simple commands like GetAxis. It also won't debug, it always says build successful, even if I purposefully make a mistake. What is going on here?
Answer by tormentoarmagedoom · Apr 23, 2018 at 04:22 PM
...
Look at your code..
you declare a Animater called "anim" and then you try to assign it using "Anim" with capital "A"..
You should be able to detect this things. If reference is not set, is because is not set.
Bye!
Your answer
Follow this Question
Related Questions
Horizontal Input showing random decimal when it should be 0 0 Answers
Need help with c# 1 Answer
Lerping Camera Between Two Points 0 Answers
Delete item in inventory 0 Answers
Google play services won't start. 0 Answers