public static Baidu Instance() { if (_instance == null) { _instance = new Baidu(); _instance.preInitBaidu(); } return(_instance); }
public static Baidu Instance() { if(_instance == null) { _instance = new Baidu(); _instance.preInitBaidu (); } return _instance; }
public static void onBaiduEventCallBack(string adtype, string eventName, string msg) { // Debug.Log("c# receive callback " + adtype + " " + eventName + " " + msg); if (adtype == "banner") { Baidu.Instance().bannerEventHandler(eventName, msg); } if (adtype == "interstitial") { Baidu.Instance().interstitialEventHandler(eventName, msg); } else if (adtype == "video") { Baidu.Instance().videoEventHandler(eventName, msg); } }