internal bool Init(BuyableManager manager) { // if (_init) return false; if (!Application.isPlaying) { return(false); } _init = true; Manager = manager; ConfigureDefaults(); Debug.Log($"Init {this}"); UpdateDebug(); return(true); }
private static string GetKey(BuyableManager mgr, string id) => $"buy_{mgr.Id}_{id}";