예제 #1
0
 private void Awake()
 {
     if (okayButton)
     {
         okayButton.onClick.AddListener(() =>
         {
             CollectItemPopup.Open(_collectedRewards, () =>
             {
                 SceneLoader.LoadScene(GameScene.Pivot, true);
             });
         });
     }
 }
예제 #2
0
 protected void CollectProduct(PurchaseOfferCallback callback)
 {
     itemTarget.Collect(false);
     CollectItemPopup.Open(itemTarget, callback);
 }