This version of Unity is unsupported.

AnimatorController.AddParameter

Declaration

public void AddParameter(string name, AnimatorControllerParameterType type);

Declaration

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.