Esempio n. 1
0
        public List <Item> GetAllItems()
        {
            List <Item> list = ItemUtils.GetAllItemPrefabs().Values.Where(x => ItemUtils.IsValidGear(x) && isType(x)).ToList();

            if (list.Count < 1)
            {
                UnityEngine.Debug.Log("There are 0 items of type: " + GetId() + ". This shouldn't be possible!!");
            }

            return(list);
        }