文档

Unity Engine

Unity Engine

AnimatorControllerParameter

Used to communicate between scripting and the controller. Some parameters can be set in scripting and used by the controller, while other parameters are based on Custom Curves in Animation Clips and can be sampled using the scripting API.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public class AnimatorControllerParameter

Properties

Property

Description

defaultBoolThe default bool value for the parameter.
defaultFloatThe default float value for the parameter.
defaultIntThe default int value for the parameter.
nameThe name of the parameter.
nameHashReturns the hash of the parameter based on its name.
typeThe type of the parameter.