1
我有一個橫幅,只需要在主菜單中顯示。我希望在玩家完成遊戲並返回主菜單時顯示插頁式廣告。請求和展示廣告沒有問題。然而,谷歌說我銷燬橫幅廣告/ AdMob插頁式廣告?
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.
我不知道我什麼時候應該銷燬我的廣告?每次玩家退出遊戲(橫幅)?每次玩家從mainmenu進入遊戲(橫幅)?是否應該在展示廣告素材後銷燬插頁式廣告素材,並在我想再次播放時請求回放?