// --------------------------------------------------------------------- void OnDestroy() // --------------------------------------------------------------------- { _instance = null; }
// --------------------------------------------------------------------- void Awake() // --------------------------------------------------------------------- { Dbg.Assert(_instance == null); _instance = this; }