コード例 #1
0
 public void OnConfirm()
 {
     if (infoType == InfoType.SHOP_LOADING_ERROR || infoType == InfoType.ORDER_ERROR)
     {
         HideWindow();
         ExitShop.Exit();
         ShopMain.SetActive(false);
         Comanda.C5.PaypalCancel();
     }
     else if (infoType == InfoType.ORDER_SUCCESS)
     {
         HideWindow();
         ItemPurchased.AddItem(ShopActions.inst.itemName);
         ShopActions.inst.ResetCheckoutScreen();
         ShopActions.inst.EnableShopWindow();
         ShopMain.SetActive(false);
         Comanda.C5.PaypalCancel();
     }
 }
コード例 #2
0
 public void CloseShop()
 {
     gameObject.SetActive(false);
     ExitShop.Exit();
 }