文档

Unity Engine

Unity Engine

AddParameter

Utility function to add a parameter to the controller.
阅读时间1 分钟最后更新于 1 个月前

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.