internal void AddClickBehavior(GameObject dummyAd)
        {
            Image[] images  = dummyAd.GetComponentsInChildren <Image>();
            Image   adImage = images[1];
            Button  button  = adImage.GetComponentInChildren <Button>();

            button.onClick.AddListener(() =>
            {
                buttonBehaviour.OpenURL();
            });
            Button[] innerButtons = adImage.GetComponentsInChildren <Button>();

            if (innerButtons.Length < 2)
            {
                Debug.Log("Invalid Prefab");
                return;
            }

            Button closeButton = innerButtons[1];

            closeButton.onClick.AddListener(() =>
            {
                AdBehaviour.DestroyAd(dummyAd);
                prefabAd = null;
                if (OnAdDidDismissFullScreenContent != null)
                {
                    OnAdDidDismissFullScreenContent.Invoke(this, EventArgs.Empty);
                }
                AdBehaviour.ResumeGame();
                if (OnUserEarnedReward != null)
                {
                    OnUserEarnedReward.Invoke(this, GetRewardItem());
                }
            });
        }
        private void AddClickBehavior(GameObject dummyAd)
        {
            Image[] images  = dummyAd.GetComponentsInChildren <Image>();
            Image   adImage = images[1];
            Button  button  = adImage.GetComponentInChildren <Button>();

            button.onClick.AddListener(() => {
                buttonBehaviour.OpenURL();
            });

            Button[] innerButtons = adImage.GetComponentsInChildren <Button>();

            innerButtons[1].onClick.AddListener(() =>
            {
                DestroyInterstitial();
                if (OnAdDidDismissFullScreenContent != null)
                {
                    OnAdDidDismissFullScreenContent.Invoke(this, new EventArgs());
                }
                AdBehaviour.ResumeGame();
            });
        }