protected override Validation <string, AnimationStateManager> CreateService(
     AnimationPlayer player, ILoggerFactory loggerFactory)
 {
     return(AnimationTree.ToValidation("Missing the animation tree.")
            .Map(animationTree =>
                 new AnimationStateManager(
                     player,
                     animationTree,
                     GraphFactory,
                     ControlFactory,
                     ProcessMode,
                     this,
                     Active,
                     loggerFactory)));
 }