Click or drag to resize

ServiceLocatorRegisterSingletonForSceneT Method

Registers a scene-specific concrete singleton of the given type.
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
C#
public static T RegisterSingletonForScene<T>()
where T : new()
Request Example View Source

Type Parameters

T
The type of the singleton.

Return Value

Type: T

[Missing <returns> documentation for "M:Archon.SwissArmyLib.Utils.ServiceLocator.RegisterSingletonForScene``1"]

See Also