Table of Contents

Field Enabled

Namespace
Titipi.MocaLib2

Runtime kill-switch, controllable only from Remote Config — deliberately hidden from the Inspector so it isn't a per-asset developer knob. A module that's compiled in and enabled via MocaLib2Config defaults to true and runs normally; a Remote Config override for this config's RemoteConfigKey that sets {"enabled": false} makes the module's InitializeAsync return false without starting the SDK (and its methods then no-op). Callers just call InitializeAsync unconditionally — the check lives inside the module. Hidden but serialized, so Resolve<T>(T, string)'s JSON overlay can still write it.

public bool Enabled

Returns

bool
Runtime kill-switch, controllable only from Remote Config — deliberately hidden from the Inspector so it isn't a per-asset developer knob. A module that's compiled in and enabled via MocaLib2Config defaults to true and runs normally; a Remote Config override for this config's that sets {"enabled": false} makes the module's InitializeAsync return false without starting the SDK (and its methods then no-op). Callers just call InitializeAsync unconditionally — the check lives inside the module. Hidden but serialized, so 's JSON overlay can still write it.