Trying to get animation to work. Problem with JS.
Hi. I'm asking this because I am a complete beginner to unity and honestly have no idea what to do. I want to add an animation to a weapon that a character in my game will hold, however the javascript script creates errors even though it should be correct. How can I create a basic script that checks for keypresses and when it detects it plays an animation in C#? I haven't learned C# whatsoever so feel free to recommend any learning resources if you know any. Thanks!
Answer by PersianKiller · Dec 26, 2017 at 06:42 AM
Hi ,watch this,It might be helpful.(It's a 2d animation ,only c#)
Your answer
Follow this Question
Related Questions
Journey like terrain modification 0 Answers
Setting EventTrigger in Unity with JavaScript 0 Answers
"Animation state could not be played because it was not found" 3 Answers
NullReferenceException: Object reference not set to an instance of an object 3 Answers
The name animator does not exist in the current context... Help? 1 Answer