Skip to content

Api > MLMicrophone > GetComponents()


MLMicrophone.GetComponents([]{Generic : Component|info} type)⚓︎

Returns all components of Type type in the GameObject.

Parameters:⚓︎

Name Type Description
type []{Generic : Component info}

Returns:⚓︎

type Description
[]{Generic : Component info}[]

Usage⚓︎

---@type MLMicrophone
local mlmicrophone;

---@type TComponent
local type;


local val0 = mlmicrophone.GetComponents(type)