OnUnityAdsDidFinish() repeats when I restart the game
When OnUnityAdsDidFinish () starts, it works, but when I restart the game (load the same scene again), I don't know why, but (when the ad ends) OnUnityAdsDidFinish (), it starts twice. If I restart the game again, the OnUnityAdsDidFinish (). Start three times! Help.
(parameters >> placementId = SkinAdd_Android && showResult = ShowResult.Finished) OnUnityAdsDidFinish() code:
public void OnUnityAdsDidFinish(string placementId, ShowResult showResult)
{
if (placementId == "SkinAdd_Android")
{
if (showResult == ShowResult.Finished)
{
menu.SkinFinished();
}
}else if (placementId == "Continue_Android")
{
if (showResult == ShowResult.Finished)
{
menu.ContinueFinished();
}else if (showResult == ShowResult.Skipped)
{
menu.ContinueSkipped();
}
}
}
Answer by ramiroecevarria · Oct 04, 2021 at 10:40 PM
Hello. I found the answer.
Check here: https://forum.unity.com/threads/unity-ad-showing-multiple-times.827946/
Your answer
Follow this Question
Related Questions
I can not build my project after I imported Ironsource SDK. 2019.4.5f1 0 Answers
Unity ads not showing rewarded video ad. 1 Answer
UnityAds vs AdMob 0 Answers
How to delete app on UnityAds? 1 Answer
Unity Ads not working on build 0 Answers