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

설명

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.


Did you find this page useful? Please give it a rating: