Animator.SetFloat(string name, number value, number dampTime, number deltaTime)
Send float values to the Animator to affect transitions.
Parameters:
Name | Type | Description |
---|---|---|
name | string | The parameter name. |
value | number | The new parameter value. |
dampTime | number | The damper total time. |
deltaTime | number | The delta time to give to the damper. |
Usage
---@type Animator
local animator;
---@type string
local name;
---@type number
local value;
---@type number
local dampTime;
---@type number
local deltaTime;
animator.SetFloat(name, value, dampTime, deltaTime)
sure applied.