Version: 2020.2
言語: 日本語
public void ResetTrigger (string name);
public void ResetTrigger (int id);

パラメーター

name The parameter name.
id The 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.