Unity Ads横幅广告打开回调

时间:2019-10-22 14:51:29

标签: c# unity3d unityads

按下统一广告横幅后,是否可以通过任何方式获得回调? 我尝试使用奖励视频回调,但没有任何效果。

1 个答案:

答案 0 :(得分:-1)

请参阅实施奖励广告部分下的official documentation

您会看到有一个函数AdFinished看起来像这样:

void AdFinished (ShowResult result) {
        if (result == ShowResult.Finished) {
            // Reward the player
        }
    }

,并通过以下方式添加为回调:

ad.Show (AdFinished);