Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当统一广告横幅被按下时,有什么方法可以得到回调?我尝试使用奖励视频回调,但没有任何效果。
请参阅实施奖励广告部分下的官方文档。
你可以看到有一个AdFinished看起来像这样的函数:
AdFinished
void AdFinished (ShowResult result) { if (result == ShowResult.Finished) { // Reward the player } }
并通过以下方式添加为回调:
ad.Show (AdFinished);