示例#1
0
        private static void UpdateItemInformation(CollectibleItem.CollectibleTypes itemType)
        {
            var text = $"{itemGetCount[itemType]}/{totalItemCount[itemType]}";

            Text[itemType].text   = text;
            Shadow[itemType].text = text;
        }
示例#2
0
        public void GetItem(CollectibleItem.CollectibleTypes itemType)
        {
            itemGetCount[itemType]++;
            UpdateItemInformation(itemType);

            CheckVictoryCondition();
        }