private static void ensureInstance() { #if UNITY_IOS if (instance == null) { Debug.LogWarning("KSiAd Unity version -- "); instance = FindObjectOfType(typeof(KSiAd)) as KSiAd; if (instance == null) { instance = new GameObject("KSiAd").AddComponent <KSiAd>(); } } #endif }
public override void showBanner(SGAdPosition sgAdPosition = SGAdPosition.Bottom) { KSiAd.showBannerView(sgAdPosition); }
public override void show() { KSiAd.ShowAd(); }
public override bool isLoad() { return(KSiAd.AdIsload()); }
public override void init(string platformId, string unitId, AdDelegate adDelegate = null) { KSiAd.init(); }