This version of Unity is unsupported.

AnimatorControllerPlayable.ResetTrigger

Declaration

public void ResetTrigger(string name);

Declaration

public void ResetTrigger(int id);

Parameters

name The parameter name.
id The parameter ID.

Description

Resets the value of the given trigger parameter.

Use this to reset a Trigger parameter in an Animator Controller that could still be active. Make sure to create a parameter in the Animator Controller with the same name. See Animator.SetTrigger for more information about how to set a Trigger.