- Home /
This question was
closed Apr 25, 2013 at 09:40 PM by
Lairinus for the following reason:
Problem is not reproducible or outdated
Question by
Lairinus · Apr 19, 2013 at 09:25 PM ·
c#animationanimationclipserializeanimationstate
How to Serialize an AnimationState
Hello,
The main question: Is there any way to Serialize an AnimationState?
Simple code being:
[SerializeField] private AnimationState animationstuff;
That doesn't show up in the inspector; Animation and AnimationClip do, however. The only reason I can think of is probably the different fields that go along with it.
Secondary Question:
If you CAN'T serialize an AnimationState, how would modifying the AnimationState's "AddMixingTransform" value carry over into the AnimationClip referenced? Would you be able to do that, or is serialization out of the question when it comes to animations?
Comment