void Start()
 {
     StartAppWrapper.showSplash();
     adEventListener = new AdEventListenerImplementation();
     videoListener   = new VideoListenerImplementation();
     StartAppWrapper.setVideoListener(videoListener);
 }
Пример #2
0
    void OnGUI()
    {
                #if UNITY_ANDROID
        StartAppWrapper.showSplash(new StartAppWrapper.SplashConfig()
                                   .setTheme(StartAppWrapper.SplashConfig.Theme.OCEAN)
                                   .setAppName("Hook and Woosh")
                                   //.setLogo("XonderSquare360")
                                   .setOrientation(StartAppWrapper.SplashConfig.Orientation.AUTO)
                                   );

        StartAppWrapper.showSplash();

        StartAppWrapper.init();
        //StartAppWrapper.loadAd();
        StartAppWrapper.loadAd(StartAppWrapper.AdMode.REWARDED_VIDEO);
                #endif
    }
Пример #3
0
 //Adding the Splash Screen
 public void ShowSplash()
 {
             #if UNITY_ANDROID
     StartAppWrapper.showSplash();
             #endif
 }