Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Simple Chartboost Plugin

Discussion in 'Android' started by DGLWilkins, Feb 9, 2014.

  1. DGLWilkins

    DGLWilkins

    Joined:
    Sep 25, 2012
    Posts:
    7
    Hi Unity community. I modified the unity package from Chartboost.com to make it easier to add chartboost ads to your apps.

    View attachment $SimpleChartboostAndroid.unitypackage

    To set up
    1. Go to Plugins > Android > res > values > strings.xml
    2. Change the chartboost_unity_app_id chartboost_unity_app_signature to your app id and app signature found on www.chartboost.com
    3. Add the ChartboostPrefab.prefab in the Chartboost Package folder to the FIRST scene loaded in your app.
    4. Call CBShowAd.ShowAd(); in your scripts to show an ad or CBShowAd.ShowMoreApps() to show the More Apps page.