public void OnUnityAdsDidFinish(string placementId, ShowResult showResult) { if (showResult == ShowResult.Finished) { if (placementId == normalVid) { saveSystem.SaveLvlData(); saveSystem.SaveCoinData(); levelController.NextLvl(); } if (placementId == skipVid) { saveSystem.SaveLvlData(); saveSystem.SaveCoinData(); levelController.NextLvl(); } if (placementId == buyVid) { shopLogic.BuyBackPack(); } if (placementId == getMoreCoinsVid) { saveSystem.localCoin += 50; saveSystem.SaveCoinData(); saveSystem.SaveLvlData(); levelController.NextLvl(); } } else if (showResult == ShowResult.Skipped) { } else if (showResult == ShowResult.Failed) { } Advertisement.RemoveListener(this); }