| ServiceLocatorRegisterLazySingletonForSceneT Method |
Registers a scene-specific concrete singleton of the given type.
The instance won't be created until the first time it is resolved.
Remarks The resolver is registered for the active scene according to GetActiveScene.
Namespace:
Archon.SwissArmyLib.Utils
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Lazy<T> RegisterLazySingletonForScene<T>()
where T : new()
Request Example
View SourceType Parameters
- T
- The type of the singleton.
Return Value
Type:
LazyT[Missing <returns> documentation for "M:Archon.SwissArmyLib.Utils.ServiceLocator.RegisterLazySingletonForScene``1"]
See Also