ComponentExt.GetAllComponentsInOpenScenes<T> Method

Gets a list of all components of the given type in the open scenes

Namespace: UltimateXR.Extensions.Unity
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static List<T> GetAllComponentsInOpenScenes<T>(
	bool includeInactive
)
where T : Component

Parameters

 

includeInactive
Type: System.Boolean
Whether to include inactive components or not

Type Parameters

 

T
Type of component to look for

Return Value

Type: List<T>
List of components

See Also

Reference

ComponentExt Class
UltimateXR.Extensions.Unity Namespace