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 caller skip initialization (and the module's methods then no-op). Hidden but serialized, so Resolve<T>(T, string)'s JsonUtility.FromJsonOverwrite 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 caller skip initialization (and the module's methods then no-op). Hidden but serialized, so 's JsonUtility.FromJsonOverwrite overlay can still write it.