Skip to main content

MLCelestialData.GetComponents(TComponent type)

Returns all components of Type type in the GameObject.

Parameters:

NameTypeDescription
typeTComponentThe type of Component to retrieve.

Returns:

typeDescription
TComponent[]all components of Type type in the GameObject.

Usage

---@type MLCelestialData
local mlcelestialdata;

---@type TComponent
local type;


local val0 = mlcelestialdata.GetComponents(type)