Click or drag to resize
SingleInstanceTInstance Property
Return the single instance. If none exists, a new game object is created and the component is added to it.

Namespace: spaar.ModLoader
Assembly: SpaarModLoader (in SpaarModLoader.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static T Instance { get; }

Property Value

Type: T
See Also