public static int GetLayerCount(this Animator ac) { return(RuntimeAnimatorControllerExtensionData.GetLayerCount(ac.runtimeAnimatorController)); }
public static IEnumerable <ControllerLayer> GetLayers(this Animator ac) { return(RuntimeAnimatorControllerExtensionData.GetLayers(ac.runtimeAnimatorController)); }