Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. using UnityEngine;
  2. using UnityEngine.Advertisements;
  3.  
  4. public class UnityAdsExample : MonoBehaviour
  5. {
  6. public void ShowAd()
  7. {
  8. if (Advertisement.IsReady())
  9. {
  10. Advertisement.Show();
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement