public Player() { _questLog = new QuestLog(15); _inventories = new InventoryExtention[4]; _inventories [0] = new InventoryExtention(4); _inventories [1] = new InventoryExtention(10); _inventories [2] = new InventoryExtention(10); _inventories [3] = new InventoryExtention(4); }
public void ReloadInventory() { _inventory = _player.Player.Inventories [_inventorySlot]; int size = _player.Player.Inventories [_inventorySlot].Size; _slots = new GameObject[size]; _slotsIcon = new GameObject[size]; _ClearSlots(); _FillSlots(size); }