public static void SetAnimationMode(this IAnimationManager manager, AnimationMode mode) { manager.TrySetAnimationMode(mode).ThrowIfError(); }