public void ResetTrigger (string name);
public void ResetTrigger (int id);

Parameters

nameThe parameter name.
idThe 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.