LuaFileComponent.FindObjectsOfType(userdata type)
Returns a list of all active loaded objects of Type type.
Parameters:
Name | Type | Description |
---|---|---|
type | userdata | The type of object to find. |
Returns:
type | Description |
---|---|
Object[] | The array of objects found matching the type specified. |
Usage
---@type userdata
local type;
local val0 = LuaFileComponent:FindObjectsOfType(type)