Api > AnimatorTransitionInfo > IsName()
AnimatorTransitionInfo.IsName(string name)⚓︎
Does name match the name of the active Transition.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
name | string | name |
Returns:⚓︎
type | Description |
---|---|
boolean | True if name match the name of the active Transition. |
Usage⚓︎
---@type AnimatorTransitionInfo
local animatortransitioninfo;
---@type string
local name;
local val0 = animatortransitioninfo.IsName(name)