【发布时间】:2015-02-23 11:26:01
【问题描述】:
我有一个只需要在主菜单中显示的横幅。我想在玩家完成游戏并返回主菜单时显示插页式广告。请求和显示广告没有问题。但是,谷歌告诉我
When you are finished with a BannerView or InterstitialAd, make sure to call the Destroy() method before dropping your reference to it.
bannerView.Destroy();
interstitial.Destroy();
This notifies the plugin that the object should be garbage collected. Failure to call this method will result in memory leaks.
我不知道什么时候应该销毁我的广告?每次玩家退出游戏(对于横幅)?每次玩家从主菜单进入游戏(对于横幅)?我是否应该在展示后销毁插页式广告,并在我想再次展示时请求返回?
【问题讨论】:
标签: unity3d admob unityscript