広告視聴カウントが入らなかった場合の例外スローを追加
This commit is contained in:
parent
5b8567308d
commit
29173dd2f1
|
|
@ -139,6 +139,13 @@ public sealed class AdManager : SingletonMonoBehaviour<AdManager> {
|
|||
private void RewardAdCallbackClose(bool success){
|
||||
resumeGame();
|
||||
_rewardAdCallback(success);
|
||||
|
||||
// 広告カウント不具合確認用
|
||||
if (_rewardAdClose && !_rewardAdFinish)
|
||||
{
|
||||
Debug.Log($"_async_frame_count:{_async_frame_count}");
|
||||
throw new Exception("RewardAd closed but not finish.");
|
||||
}
|
||||
}
|
||||
|
||||
private void pauseGame(){
|
||||
|
|
|
|||
Loading…
Reference in New Issue