|
|
|
|
|
|
#endif
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#if !UNITY_EDITOR && UNITY_ANDROID
|
|
|
|
bool AndroidInitialized = true; |
|
|
|
|
|
|
|
IEnumerator DoInitAndroid() { |
|
|
|
yield return new WaitForEndOfFrame(); |
|
|
|
AndroidPlatformUtil.Init(); |
|
|
|
IEnumerator ReEnableUIWidgetsNextFrame() { |
|
|
|
|
|
|
|
#if !UNITY_EDITOR && UNITY_ANDROID
|
|
|
|
bool AndroidInitialized = true; |
|
|
|
|
|
|
|
startCoroutine(DoInitAndroid()); |
|
|
|
AndroidPlatformUtil.Init(); |
|
|
|
startCoroutine(ReEnableUIWidgetsNextFrame()); |
|
|
|
return false; |
|
|
|
} |
|
|
|
return true; |
|
|
|