Dwarfinator - Icon system

Dwarfinator

Icon system

Inventory-related UI rework in progress. Stuck here for a while, for many existing features were inefficient or not reusable. Right now, for instance, I'm making general icon system to decerase UI latency and make possible partial updates of multiple icons. It's become possible with building icons from multiple parts such as background, content, frame and others instead of baking full icon and using scriptable objects to store values of those parts as single style asset. I can also merge multiple styles into new one at runtime, which allows me to store some changes in icon, like highlighting or selecting, as common style for every icon of certain type.