示例#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
 }
示例#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();
     WEulaImpl handlerEulaImpl = new WEulaImpl();
     // Making AdToServe call to try to shox an Ad if available
     WPresage.AdToServe("interstitial", handlerImpl);
     #endif
 }