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

I'm trying to set a script to inactive

$
0
0
So I have a game built for Android and iOS. I want to also now build it for facebook. But my Ads scripts are currently only for android and iOS. the error I'm getting is gameID does not exist in current context because those game IDs are for unity ads on android and iOS. I don't want to delete the scripts just to be able to publish to facebook. is there a way or method to say if android and iOS are not here return? The current script I have for checking the gameID for android and iOS is. #if UNITY_IOS private string gameID = "xxxxxxxxx"; #elif UNITY_ANDROID private string gameID = "xxxxxxxxx"; #endif

Viewing all articles
Browse latest Browse all 1416

Trending Articles



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