Esempio n. 1
0
        private static void RebuildCounter()
        {
            if (_counter == null)
            {
                _counter = new ItemCollectionBaseAddCounter();
            }

            _counter.LoadFrom(_lootToCollections.ToArray());
        }
Esempio n. 2
0
        protected override void Awake()
        {
            base.Awake();

            _counter = new ItemCollectionBaseAddCounter();

            Assert.IsNotNull(langDatabase, "No language database set, can't display notifications.");

            collectionObjectsParent = new GameObject("__COLLECTION_OBJECTS").transform;
            collectionObjectsParent.transform.SetParent(transform);
        }