ParaPlayer.SetOverrideAnimation

Declaration

public void SetOverrideAnimation(string key, AnimationClip clip, Action cb = null)

Parameter

keyThe status name needs to be replaced in the Animator Controller.
clipAnimation file
cbAnimation 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.