Пример #1
0
        public override void Do()
        {
            var ad = RefinterEx.GetShared <IInterstitialAdAPI>();

            if (ad != null)
            {
                ad.Show();
            }
            else
            {
                this.Log("ShowInterstitialAd");
            }
            Condition = true;
        }
Пример #2
0
        public override void Do()
        {
            var ad = RefinterEx.GetShared <IDialogPageAd>();

            if (ad != null)
            {
                ad.Show();
            }
            else
            {
                this.Log("ShowDialogPageAd");
            }
            Condition = true;
        }
Пример #3
0
        public override void Do()
        {
            var ba = RefinterEx.GetShared <IBannerAd>();

            if (ba != null)
            {
                if (isShow.value)
                {
                    ba.Show();
                }
                else
                {
                    ba.Hide();
                }
            }
            else
            {
                this.Log($"banner {(isShow.value?"Show":"Hide")}");
            }
            Condition = true;
        }
Пример #4
0
        public override void Do()
        {
            var e = RefinterEx.GetShared <IAnalyzeEvent>();

            if (e != null)
            {
                if (values == null || values.kvs.Count == 0)
                {
                    e.SetEvent(key.value);
                }
                else
                {
                    e.SetEvent(key.value, values.kvs);
                }
            }
            else
            {
                _Debug();
            }

            Condition = true;
        }
Пример #5
0
 public override IComponent GetValue()
 {
     value.reward = RefinterEx.GetShared <IRewardAdAPI>();
     return(base.GetValue());
 }