private static void IronSourceImpressionHandler(string json) { #if gameanalytics_ironsource_enabled // Remove potential label/tag from version number string v = IronSource.pluginVersion(); int index = v.IndexOf("-"); if (index >= 0) { v = v.Substring(0, index); } GA.CallStatic("addImpressionIronSourceEvent", v, json); #endif }
private static void IronSourceImpressionHandler(string json) { if (!string.IsNullOrEmpty(json)) { #if gameanalytics_ironsource_enabled // Remove potential label/tag from version number string v = IronSource.pluginVersion(); int index = v.IndexOf("-"); if (index >= 0) { v = v.Substring(0, index); } addImpressionEvent("ironsource", v, json); #endif } }
public override void Init() { #if IRONSOURCE IronSource.Agent.init(appKey, IronSourceAdUnits.REWARDED_VIDEO, IronSourceAdUnits.INTERSTITIAL, IronSourceAdUnits.BANNER); IronSource.Agent.shouldTrackNetworkState(true); IronSource.Agent.setConsent(true); #if DEBUG IronSource.Agent.validateIntegration(); IronSource.Agent.setAdaptersDebug(true); LDebug.Log(IronSource.pluginVersion()); LDebug.Log(IronSource.unityVersion()); #endif #endif LitFramework.LitTool.LitTool.DelayPlayFunction(0.1f, () => { //if (AdManager.Instance.UseAds) // CreateBanner(); CreateInterstitial(); CreateRewarded(); }); }
public void init(string appKey, params string[] adUnits) { CFSetPluginData("Unity", IronSource.pluginVersion(), IronSource.unityVersion()); CFInitWithAdUnits(appKey, adUnits); }
public void init(string appKey) { CFSetPluginData("Unity", IronSource.pluginVersion(), IronSource.unityVersion()); CFInit(appKey); }
public void initISDemandOnly(string appKey, params string[] adUnits) { CFSetPluginData("Unity", IronSource.pluginVersion(), IronSource.unityVersion()); Debug.Log("IntegrationHelper pluginVersion: " + IronSource.pluginVersion()); CFInitISDemandOnly(appKey, adUnits); }
public void init(string appKey) { CFSetPluginData("Unity", IronSource.pluginVersion(), IronSource.unityVersion()); Debug.Log("IntegrationHelper pluginVersion: " + IronSource.pluginVersion()); CFInit(appKey); }
public void init(string appKey, params string[] adUnits) { getBridge().Call("setPluginData", "Unity", IronSource.pluginVersion(), IronSource.unityVersion()); getBridge().Call("init", appKey, adUnits); }
private void Start() { Text = GameObject.Find("PluginVersionText"); Text.GetComponent <Text>().text = IronSource.pluginVersion(); }
public void init(string appKey) { getBridge().Call("setPluginData", "Unity", IronSource.pluginVersion(), IronSource.unityVersion()); Debug.Log("IntegrationHelper pluginVersion: " + IronSource.pluginVersion()); getBridge().Call("init", appKey); }
public void initISDemandOnly(string appKey, params string[] adUnits) { getBridge().Call("setPluginData", "Unity", IronSource.pluginVersion(), IronSource.unityVersion()); Debug.Log("IntegrationHelper pluginVersion: " + IronSource.pluginVersion()); getBridge().Call("initISDemandOnly", appKey, adUnits); }
// Use this for initialization void Start() { Text = GameObject.Find("PluginVersionText"); Text.GetComponent <UnityEngine.UI.Text> ().text = IronSource.pluginVersion(); }