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