Version: 2019.4
public void ResetTrigger (string name);
public void ResetTrigger (int id);

パラメーター

nameThe parameter name.
idThe parameter ID.

説明

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.