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