• Hello
Search Results for

    Show / Hide Table of Contents

    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 and, when that is missing or has no monitor, the Resources prefab at FallbackPrefabResourcePath. An empty monitor is never created. When a monitor recorded at startup no longer exists, GUPS.AntiCheat.Bootstrap.Start publishes once.

    Fields

    FallbackPrefabResourcePath

    Resources path (no extension) of the monitor prefab used when is unassigned or has no AntiCheatMonitor.

    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
    In This Article
    Back to top GuardingPearSoftware documentation