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.
parameter 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.


Did you find this page useful? Please give it a rating: