Documentation

Unity Engine


Unity Engine


AddParameter

Utility function to add a parameter to the controller.
Read time 1 minuteLast updated a month ago

Definition

AddParameter(string, AnimatorControllerParameterType)

Utility function to add a parameter to the controller.
public void AddParameter(string name, AnimatorControllerParameterType type)

Parameters

name

The name of the parameter.

The type of the parameter.

Remarks

An example showing usage of this API can be found at the AnimatorController page.

AddParameter(AnimatorControllerParameter)

Utility function to add a parameter to the controller.
public void AddParameter(AnimatorControllerParameter paramater)

Parameters

Remarks

An example showing usage of this API can be found at the AnimatorController page.