void Awake() { if (!isShow) { isLoad = false; startLoad = Time.time; if (Application.internetReachability == NetworkReachability.NotReachable) { LoadFromDisk(); } else { StartCoroutine(LoadConfig()); } isShow = true; } else { isLoad = true; Quit(); } #if UNITY_IOS platform = ADPlatform.ios_admob; #else platform = ADPlatform.ad_admob; #endif }
void Awake() { if (!isShow) { isLoad = false; startLoad = Time.time; StartCoroutine(LoadConfig()); isShow = true; } else { isLoad = true; Quit(); } #if UNITY_IOS platform = ADPlatform.ios_admob; #else platform = ADPlatform.ad_admob; #endif }
void Awake() { if (!isShow) { isLoad = false; startLoad = Time.time; if (Application.internetReachability == NetworkReachability.NotReachable) LoadFromDisk(); else StartCoroutine(LoadConfig()); isShow = true; } else { isLoad = true; Quit(); } #if UNITY_IOS platform = ADPlatform.ios_admob; #else platform = ADPlatform.ad_admob; #endif }