Version: 2017.3
public AnimationClip this[string] ;
public AnimationClip this[AnimationClip] ;

Descripción

Returns either the overriding Animation Clip if set or the original Animation Clip named name.

Note: You should avoid calling this function more than once per frame per Animator as each call will trigger a reallocation of the animator's clip bindings. Instead use AnimatorOverrideController.ApplyOverrides.