AnimatorControllerParameter,对应状态机编辑器的parameters
官方API:
AnimatorControllerParameter
class in UnityEngine
/
Implemented in:UnityEngine.AnimationModule
Description
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.
Properties
defaultBool | The default bool value for the parameter. |
defaultFloat | The default float value for the parameter. |
defaultInt | The default int value for the parameter. |
name | The name of the parameter. |
nameHash | Returns the hash of the parameter based on its name. |
type | The type of the parameter. |