Quantcast
Channel: Answers for "there is no 'animation' attached to the gameobject but a script is trying to access it"
Browsing latest articles
Browse All 6 View Live

Answer by Crystalline

The animation you are using is more than sure "legacy" type, in newer unity versions this wont work unless you mark it as legacy. Solution: 1. Select animation,go into debug mode, there is a little...

View Article


Answer by HD32

Here you go sir: var walkClip: AnimationClip; var anim: Animation; function Start() { anim = GetComponent.(); anim.AddClip(walkClip, "walk"); } I hope that helped. If you wanted to use C# here is the...

View Article

Browsing latest articles
Browse All 6 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>