UxrAbstractSingleton<T>.NeedsDontDestroyOnLoad Property

Whether the singleton requires DontDestroyOnLoad(Object) applied to the GameObject so that it doesn’t get destroyed when a new scene is loaded.

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

Syntax

C#

protected virtual bool NeedsDontDestroyOnLoad { get; }

Property Value

Type: Boolean

See Also

Reference

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