Closed Maurits825 closed 4 years ago
everytime an item is received, the sprite is updated, bankSlot.sprite = Database.sprites[(int)id];. this isnt needed, this could affect performance. Check if it is an issue on performance and if so, only change sprite when the item actually changes
everytime an item is received, the sprite is updated, bankSlot.sprite = Database.sprites[(int)id];. this isnt needed, this could affect performance. Check if it is an issue on performance and if so, only change sprite when the item actually changes