Skip to main content

LuaFileComponent.CompareTag(string tag)

Is this game object tagged with tag ?

Parameters:

NameTypeDescription
tagstringThe tag to compare.

Returns:

typeDescription
booleanIs this game object tagged with tag ?

Usage

---@type LuaFileComponent
local luafilecomponent;

---@type string
local tag;


local val0 = luafilecomponent.CompareTag(tag)