How is this done? I can’t seem to find any examples.
I tried the following code to load animations into my player entity:
var animComponent = new AnimationComponent();
animComponent.Entity = playerEntity;
animComponent.Animations.Add("Idle", Asset.Load<AnimationClip>(@"Classes/Wizard/wizard"));
animComponent.Animations.Add("Run", Asset.Load<AnimationClip>(@"Classes/Wizard/Run"));
playerEntity.Add<AnimationComponent>(AnimationComponent.Key, animComponent);
However this gives me the error
Content serializer for SIliconStudio.Xenko.Rendering.Model/SiliconStudio.Xenko.Animations.AnimationClip could not be found.
So how are animationclips loaded?