Update AnimatorStateMachineUtil.cs

Now cycles through all layers of animator instead of just the base layer.