Пример #1
0
 public void ShowPauseAd(bool show)
 {
     if (scenes != null && scenes.Length > 0)
     {
         string sceneid = scenes[1];
         if (show)
         {
             if (TGSDK.CouldShowAd(sceneid))
             {
                 TGSDK.ShowAd(sceneid);
             }
             else
             {
                 Log("Scene " + sceneid + " could not to show");
             }
         }
         else
         {
             TGSDK.CloseBanner(sceneid);
         }
     }
 }
Пример #2
0
    public void CloseBanner()
    {
        string sceneid = scenes[sceneIndex];

        TGSDK.CloseBanner(sceneid);
    }
Пример #3
0
    public void CloseBanner()
    {
        string sceneid = sceneId.text;

        TGSDK.CloseBanner(sceneid);
    }