public AnimationClip this[string] ;
public AnimationClip this[AnimationClip] ;

描述

返回重写动画剪辑(如果已设置)或原有动画剪辑命名的名称。

注意:该函数每个动画器每帧的调用不应超过一次,因为每次调用都会触发动画器剪辑绑定的重新分配。请改为使用 AnimatorOverrideController.ApplyOverrides