UxrAbstractSingleton<T>.TrySetInstance Method

Tries to set the singleton instance.

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

Syntax

C#

protected static bool TrySetInstance(
	UxrAbstractSingleton<T> value
)

Parameters

 

value
Type: UltimateXR.Core.Components.Singleton.UxrAbstractSingleton(T)
Candidate to set as singleton instance

Return Value

Type: Boolean
Whether the instance was set

See Also

Reference

UxrAbstractSingleton<T> Class
UltimateXR.Core.Components.Singleton Namespace