Api > AnimatorStateInfo > IsTag()
AnimatorStateInfo.IsTag(string tag)⚓︎
Does tag match the tag of the active state in the statemachine.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
tag | string | tag |
Returns:⚓︎
type | Description |
---|---|
boolean | True if tag match the tag of the active state in the statemachine. |
Usage⚓︎
---@type AnimatorStateInfo
local animatorstateinfo;
---@type string
local tag;
local val0 = animatorstateinfo.IsTag(tag)