GetComponentsInChildren
7/14/25Less than 1 minute
MLCelestialData.GetComponentsInChildren(TComponent t)
Returns all components of Type type in the GameObject or any of its children.
Parameters:
| Name | Type | Description |
|---|---|---|
| t | TComponent | The type of Component to retrieve. |
Returns:
| type | Description |
|---|---|
| TComponent[] | all components of Type type in the GameObject or any of its children. |
Usage
---@type MLCelestialData
local mlcelestialdata;
---@type TComponent
local t;
local val0 = mlcelestialdata.GetComponentsInChildren(t)
