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