예제 #1
0
 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
    }
예제 #3
0
 private IronSource()
 {
     _platformAgent = new AndroidAgent();
 }