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

Description

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.