Finished Map Tab
This commit is contained in:
parent
4f19189244
commit
615cc4e936
43 changed files with 8383 additions and 920 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue