Class Bootstrap
Ensures an AntiCheatMonitor exists when a built scene starts.
Inheritance
System.Object
Bootstrap
Namespace: GUPS.AntiCheat
Assembly: cs.temp.dll.dll
Syntax
public class Bootstrap : MonoBehaviour
Remarks
Player builds place one Bootstrap in every scene. GUPS.AntiCheat.Bootstrap.Start finds a monitor
already present or creates one from
Fields
FallbackPrefabResourcePath
Resources path (no extension) of the monitor prefab used when
Declaration
public const String FallbackPrefabResourcePath = null
Field Value
| Type | Description |
|---|---|
| String |
Properties
SceneLoadedInstanceId
Instance id of the AntiCheatMonitor observed by GUPS.AntiCheat.Bootstrap.Start. Zero when no monitor existed and none could be created.
Declaration
public static int SceneLoadedInstanceId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |