void RandomizeAnimation(AnimationRandomizerTag tag)
{
if (!tag.gameObject.activeInHierarchy)
return;
var animator = tag.gameObject.GetComponent<Animator>();
animator.applyRootMotion = tag.applyRootMotion;