Api > ReflectionProbe > GetComponents()
ReflectionProbe.GetComponents([]{Generic : Component|info} type)⚓︎
Returns all components of Type type in the GameObject.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
type | [ |
info} |
Returns:⚓︎
type | Description |
---|---|
[ |
info}[] |
Usage⚓︎
---@type ReflectionProbe
local reflectionprobe;
---@type TComponent
local type;
local val0 = reflectionprobe.GetComponents(type)