Version: 5.6
public void AddParameter (string name, AnimatorControllerParameterType type);
public void AddParameter (AnimatorControllerParameter paramater);

Parameters

name The name of the parameter.
type The type of the parameter.
paramater The parameter to add.

Description

Utility function to add a parameter to the controller.

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