Maurits825 / AFKScape

A game that simulates playing the game Old School RuneScape at a faster pace! Developed in Unity using C#.
1 stars 0 forks source link

Re-assigning sprites #73

Closed Maurits825 closed 4 years ago

Maurits825 commented 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