Declaration
public void SetOverrideAnimation(string key, AnimationClip clip, Action cb = null)
Parameter
key | The status name needs to be replaced in the Animator Controller. |
clip | Animation file |
cb | Animation Event callback function |
Description
Sets the override animation. Returns to normal after setting the override to nil. Supports using Animation Event and passing callback functions.