示例#1
0
 void InitStoreHouse()
 {
     //set cap label
     capLabel.text = string.Format("仓库容量:{0}/{1}", itemPackage.GetRousourceTotalCap(), sanctuaryPackage.GetStoreHouseCap());
     //set table view
     OnTab0();
 }
示例#2
0
 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());
 }