UxrComponent.TryGetComponentById Method

Tries to get a component by its unique id.

Namespace: UltimateXR.Core.Components
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static bool TryGetComponentById(
	string id,
	out UxrComponent component
)

Parameters

 

id
Type: System.String
Id of the component to retrieve
component
Type: UltimateXR.Core.Components.UxrComponent
Returns the component if the id exists

Return Value

Type: Boolean
Whether the id was found

See Also

Reference

UxrComponent Class
UltimateXR.Core.Components Namespace