Skip to main content

ReflectionProbe.GetComponentsInChildren(TComponent t)

Returns all components of Type type in the GameObject or any of its children.

Parameters:

NameTypeDescription
tTComponentThe type of Component to retrieve.

Returns:

typeDescription
TComponent[]all components of Type type in the GameObject or any of its children.

Usage

---@type ReflectionProbe
local reflectionprobe;

---@type TComponent
local t;


local val0 = reflectionprobe.GetComponentsInChildren(t)