public static void UnregisterAnimation(IAnimationParams ab) { AnimationSystem animator = GetAnimationSystemForAnimationBase(ab); if (animator != null) { animator.UnregisterAnimationParams(ab); } }