Quantcast
Channel: Unity Ads & User Acquisition
Viewing all articles
Browse latest Browse all 6164

Unity Ads in Unity 5.2

$
0
0
Hello,

I'm having trouble getting Unity Ads to work in Unity 5.2.
I've looked at so many tutorials and can't get it to work.

I'm wanting to make the ads appear at game over. Where abouts would I add the sample code into my script?
This is my script so far. But have had no success.


using UnityEngine;
using UnityEngine.Advertisements;
using System.Collections;

public class SimpleAds : MonoBehaviour
{
public void ShowAd()
{
if (Advertisement.IsReady())
{...

Unity Ads in Unity 5.2

Viewing all articles
Browse latest Browse all 6164

Trending Articles



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