Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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