예제 #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();
        }