Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
             #if UNITY_ANDROID
     // Initializing WPresage
     WPresage.Initialize();
     // Creation of our WHAndlerImpl to Handle Events
     WHandlerImpl handlerImpl     = new WHandlerImpl();
     WEulaImpl    handlerEulaImpl = new WEulaImpl();
     // Making AdToServe call to try to shox an Ad if available
     WPresage.AdToServe("interstitial", handlerImpl);
             #endif
 }
Ejemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        #if UNITY_ANDROID
        // Initializing WPresage
        WPresage.Initialize();
        // Creation of our WHAndlerImpl to Handle Events
        WHandlerImpl handlerImpl = new WHandlerImpl();

        // Making AdToServe call to try to shox an Ad if available
        WPresage.AdToServe("interstitial", handlerImpl);
        #endif
    }