Quantcast
Channel: Answers for "there is no 'animation' attached to the gameobject but a script is trying to access it"
Browsing all 6 articles
Browse latest 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

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

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 all 6 articles
Browse latest View live




Latest Images