Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 private static string GetKey(BuyableManager mgr, string id) => $"buy_{mgr.Id}_{id}";