void Start() { #if UNITY_IPHONE MAX_INLOADING_RESCOUNT = 5; if (ClientUtil.GetMemorySize() > 512) { MAX_INLOADING_RESCOUNT = 10; } #else MAX_INLOADING_RESCOUNT = 10; #endif curLoadingRes_background = new Resource[MAX_INLOADING_RESCOUNT]; for (int i = 0; i < MAX_INLOADING_RESCOUNT; i++) { curLoadingRes_background[i] = null; } }