public void ShowInventory() { Inventories = GameManager.Inst().UiManager.InventoryScroll.GetComponent <InventoryScroll>(); Inventories.transform.SetParent(InventoryArea.transform, false); Inventories.SetSlotType(2); Inventories.ShowInventory(); Sort(); }
void ShowInventory() { SelectableType = 0; Inventories = GameManager.Inst().UiManager.InventoryScroll.GetComponent <InventoryScroll>(); Inventories.transform.SetParent(InventoryArea.transform, false); Inventories.SetSlotType(1); Inventories.ShowInventory(); }
public void ShowInventory() { gameObject.SetActive(true); Inventories = GameManager.Inst().UiManager.InventoryScroll.GetComponent <InventoryScroll>(); Inventories.transform.SetParent(InventoryArea.transform, false); Inventories.SetSlotType(0); ShowInventoryCount(); Inventories.ShowInventory(); }
void ShowInventory() { Inventories = GameManager.Inst().UiManager.InventoryScroll.GetComponent <InventoryScroll>(); Inventories.transform.SetParent(InventoryArea.transform, false); Inventories.SetSlotType(1); Inventories.ShowInventory(); for (int i = 0; i < Constants.MAXBULLETS; i++) { if (GameManager.Inst().UpgManager.BData[i].GetEquipIndex() != -1) { InventorySlot slot = Inventories.GetSlot(Inventories.GetSwitchedIndex(GameManager.Inst().UpgManager.BData[i].GetEquipIndex())); slot.EMark.SetActive(true); } } }