Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

unity ads help

$
0
0
hey guys so im using this script to manage my advertising, I had it working before but now its giving me the error Scripts\Modules\Advertising\NetworkClients\UnityAdsClientImpl.cs(327,17): warning CS0618: 'ShowOptions.resultCallback' is obsolete: 'Implement IUnityAdsListener and call Advertisement.AddListener()', I've tried implementing , it seems pretty straight forward however i keep getting more errors so i revert it back and keeo trying but im at the point where i need to ask for some help. i under stand i need to implement iunityadslistener and replace the old outdated call functions with the new, but ive been away and im just confused to the max and the harder i try to figure it out the more confused i make myself, ive watched tutorials , but they all have different ways of doing things and it confuses me even further, i usually just study to codes i see find out what they mean and memorize . anyways any help would be greatly appreciated, sorry for lack of proper punctuation, just too tired.. var showOptions = new ShowOptions { resultCallback = (result) => { InternalRewardedAdCallback(result, placement); } }; Advertisement.Show(id, showOptions); #else Advertisement.Show(id); -------------------------------------------------------------------------------------------------- var showOptions = new ShowOptions { resultCallback = (result) => { InternalInterstitialAdCallback(result, placement); } }; Advertisement.Show(id, showOptions); #else Advertisement.Show(id);

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>