Finished Map Tab

This commit is contained in:
Reinier Vens 2020-12-18 13:48:03 +00:00
commit 615cc4e936
43 changed files with 8383 additions and 920 deletions

View file

@ -70,6 +70,9 @@ public class InventoryPanel : MonoBehaviour
spriteIndex += 1 << i;
}
if (item != null)
spriteIndex += 1 << 8;
if (spriteIndex == 0)
{
var empty = new GameObject("Empty Node", typeof(RectTransform));
@ -111,6 +114,9 @@ public class InventoryPanel : MonoBehaviour
if (ItemMatch(_offsets[i]))
spriteIndex += 1 << i;
if (item != null)
spriteIndex += 1 << 8;
if (spriteIndex == 0)
{
var empty = new GameObject("Empty Node", typeof(RectTransform));