AddParameter
Utility function to add a parameter to the controller.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
AddParameter(string, AnimatorControllerParameterType)
Utility function to add a parameter to the controller.
public void AddParameter(string name, AnimatorControllerParameterType type)
Parameters
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.