private IronSource() { #if UNITY_EDITOR _platformAgent = new UnsupportedPlatformAgent(); #elif (UNITY_IPHONE || UNITY_IOS) _platformAgent = new iOSAgent(); #elif UNITY_ANDROID _platformAgent = new AndroidAgent(); #endif }
private IronSource() { #if UNITY_EDITOR _platformAgent = new UnsupportedPlatformAgent(); #elif (UNITY_IPHONE || UNITY_IOS) _platformAgent = new iOSAgent(); #elif UNITY_ANDROID _platformAgent = new AndroidAgent(); #endif var type = typeof(IronSourceEvents); var mgr = new GameObject("IronSourceEvents", type).GetComponent <IronSourceEvents>(); // Creates IronSourceEvents gameObject }
private IronSource() { _platformAgent = new AndroidAgent(); }