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); } } }
public void CloseBanner() { string sceneid = scenes[sceneIndex]; TGSDK.CloseBanner(sceneid); }
public void CloseBanner() { string sceneid = sceneId.text; TGSDK.CloseBanner(sceneid); }