UxrComponent.TrySetUniqueId Method

Changes the object’s unique Id if it doesn’t exist.

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

Syntax

C#

public bool TrySetUniqueId(
	string newUniqueId
)

Parameters

 

newUniqueId
Type: System.String
New id

Return Value

Type: Boolean
Whether the new id was valid, meaning it didn’t exist

See Also

Reference

UxrComponent Class
UltimateXR.Core.Components Namespace