AnimatorOverrideController.this[string]

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答