- Home /
Assigning animations in inspector?
I have a public Animation variable that I'm trying to make easily modifiable,
public Animation animationTest = null;
This appears in the inspector but when I try and change the animation it doesn't change when choosing an animation in my assets tab and doesn't bold indicating I've changed something. Am I doing something wrong or is this a bug?
Comment
Answer by ovidiubuligan · Dec 02, 2013 at 09:57 PM
Found the answer , it has to be declared as animation clip:
public AnimationClip animationTest;