Beispiel #1
0
 public void refreshgoodsInCurrentPurchaseType(purchaseType oldT, purchaseType newT)
 {
     if (oldT != purchaseType.end)
     {
         BtnsContent.GetChild((int)oldT).GetComponent <Button>().interactable = true;
     }
     if (newT != purchaseType.end)
     {
         BtnsContent.GetChild((int)newT).GetComponent <Button>().interactable = false;
     }
 }
Beispiel #2
0
 public override void commonBackAction()
 {
     base.commonBackAction();
     current_type = purchaseType.end;
     homeScene.SubMenuClose();
 }