Use typed shapes for inventory UI masks
This commit is contained in:
parent
ecc35c3ea6
commit
dc8c3353cf
4 changed files with 8 additions and 8 deletions
|
|
@ -214,10 +214,7 @@ public class InventoryMenu : MonoBehaviour
|
|||
.ToArray();
|
||||
}
|
||||
|
||||
var shape = GameManager.ItemManager.GetData(item).Shape;
|
||||
return shape.Coordinates
|
||||
.Select(cell => shape.Rotate(cell, item.Rotation) + position)
|
||||
.ToArray();
|
||||
return Array.Empty<int2>();
|
||||
}
|
||||
|
||||
private static AetheriaRuntimeCatalogItem FindTypedInventoryItem(ItemInstance item)
|
||||
|
|
|
|||
Loading…
Reference in a new issue