internal DummyNativeAd(NativeAdType adType)
            {
                m_AdType = adType;

                m_LargeImageMap[0] = "https://img1.nend.net/img/banner/329/71105/1307070.png";
                m_LargeImageMap[1] = "https://img1.nend.net/img/banner/329/70572/1292197.png";
                m_LargeImageMap[2] = "https://img1.nend.net/img/banner/329/71103/1307041.png";
                m_LargeImageMap[3] = "https://img1.nend.net/img/banner/329/71102/1307030.png";
                m_LargeImageMap[4] = "https://img1.nend.net/img/banner/329/71104/1307056.png";
                m_LogoImageMap[0]  = "https://img1.nend.net/img/banner/329/71105/1307071.png";
                m_LogoImageMap[1]  = "https://img1.nend.net/img/banner/329/70572/1292198.png";
                m_LogoImageMap[2]  = "https://img1.nend.net/img/banner/329/71103/1307042.png";
                m_LogoImageMap[3]  = "https://img1.nend.net/img/banner/329/71102/1307031.png";
                m_LogoImageMap[4]  = "https://img1.nend.net/img/banner/329/71104/1307057.png";

                if (NativeAdType.LargeWide == m_AdType)
                {
                    var r = new System.Random();
                    m_ImageIndex = r.Next(5);
                }
            }
예제 #2
0
 internal DummyNativeAd(NativeAdType adType)
 {
     m_AdType = adType;
 }
예제 #3
0
 internal NativeClientStub(NativeAdType adType)
 {
     m_AdType = adType;
 }
예제 #4
0
 /// <summary>
 /// Create the new client instance for test.
 /// </summary>
 /// <returns>The client.</returns>
 /// <param name="type">Type.</param>
 /// \warning Can use only on UnityEditor.
 public static INativeAdClient NewClient(NativeAdType type)
 {
     return(new NativeClientStub(type));
 }