Exemplo n.º 1
0
 public void openPanel(bool isInventory)
 {
     inventoryLayout.SetActive(isInventory);
     storeLayout.SetActive(!isInventory);
     storeInventoryButtonText.text = isInventory ? LanguageSystem.GET_STORE_TAB_BUTTON_LABEL() : LanguageSystem.GET_INVENTORY_TAB_BUTTON_LABEL();
     if (isInventory)
     {
         StartCoroutine(inventoryLayout.GetComponent <myInventroy>().reload());
     }
 }