- Home /
Question by
Usama_S · Nov 04, 2018 at 02:46 PM ·
admobevent triggering
Cant trigger events in Unity 2018
Hi i am trying to implement admob rewarded video for my game. I have imported admob sdk and implemented all required methods. The ad is loading and showing correctly but the problem is that i have added events in my code to detect when the ad is finished. Unfortunately my events are not called.
Comment
Best Answer
Answer by AaronXRDev · Nov 05, 2018 at 04:46 PM
It could be that your AdCompleted method is using EventArgs instead of the Reward type.
Try this:
public void AdCompleted(object sender, Reward args)
{
Test.SetActive(false);
}
Your answer
![](https://koobas.hobune.stream/wayback/20220612181520im_/https://answers.unity.com/themes/thub/images/avi.jpg)