AnimationEvent.functionName

public string functionName;

Description

The name of the function that will be called.

This is the same as calling gameObject.SendMessage(animationEvent.functionName, animationEvent). The function called can have zero or a single argument. See the script example at AnimationEvent to see how functionName can be used.

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