我用inmobi的统一插件来做广告,但是在显示"Interstitial“之后,面对一个问题,使用函数InMobiAndroid.showInterstitial(),我无法关闭它,我在关闭按钮上按了很多次,但广告没有关闭,怎么办?
if((string.Compare(InMobiAndroid.getInterstitialState(), "Ready") == 0 || string.Compare(InMobiAndroid.getInterstitialState(),"READY") == 0)&& !loadAd)
{
InMobiAndroid.showInterstitial();
loadAd = true;
}发布于 2014-04-15 10:53:34
更新Android报表文件
添加
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />在
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
https://stackoverflow.com/questions/23032225
复制相似问题