Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

problems with iAD banner

$
0
0
as it says im having problems putting a simple iAD banner at the bottom of my screen, for some reason i get errors in the code a lot of them even when i use the standard unity doc code, any help please. HERES THE CODE private var banner : ADBannerView = null; function ShowBanner() { while (!banner.loaded && banner.error == null) yield; if (banner.error == null) banner.Show(); else banner = null; } function OnGUI() { GUI.enabled = (banner == null ? true : false); if (GUILayout.Button("Show Banner")) { banner = new ADBannerView(); banner.autoSize = true; banner.autoPosition = ADPosition.Bottom; StartCoroutine(ShowBanner()); } }

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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