void InitStoreHouse() { //set cap label capLabel.text = string.Format("仓库容量:{0}/{1}", itemPackage.GetRousourceTotalCap(), sanctuaryPackage.GetStoreHouseCap()); //set table view OnTab0(); }
void InitView() { dynamicPackage.CalculateTradeInfo(); OnTabChange(0); StartCoroutine(RefreshDate()); StartCoroutine(RefreshLimitTimer()); lineRenderer.positionCount = 0; limitLabel.text = ""; priceLabel.text = ""; capLabel.text = string.Format("容量:{0}/{1}", itemPackage.GetRousourceTotalCap(), sanctuaryPackage.GetStoreHouseCap()); }