Search Unity

Ads Activity Class

Discussion in 'Scripting' started by gamecreator333, Jun 30, 2015.

  1. gamecreator333

    gamecreator333

    Joined:
    May 4, 2015
    Posts:
    21
    Hello Everyone,
    I have a question. I am trying to add ads to my app. The instructions say to add some code to the Activity class. However there are 3 files that have activity classes. I have UnityPlayerNativeActivity.java, UnityPlayerActivity.java, and UnityPlayerProxyActivity.java.
    What do I edit so I can add ads?
    Thanks
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Some detail, like which as provider you are implementing, and a link to the instructions, would help.
     
  3. gamecreator333

    gamecreator333

    Joined:
    May 4, 2015
    Posts:
    21