Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: shokinhan on June 23, 2013, 09:04:35 AM

Title: UIAtlas's memory
Post by: shokinhan on June 23, 2013, 09:04:35 AM
I load uiatlas from server , and save in the memory.
But it will occupy a lot of memory. How to do for saving memory?
Because I must use the atlas dynamic, so put the atlas in memory!


Title: Re: UIAtlas's memory
Post by: ArenMook on June 23, 2013, 10:23:04 AM
How to do for saving memory? I'm not sure what you mean. Once you load something, it will remain in memory until you unload it yourself. And before you unload an atlas (and more importantly -- its texture) you have to make sure that nothing is referencing it.
Title: Re: UIAtlas's memory
Post by: shokinhan on June 24, 2013, 01:10:43 AM
Why the NGUI demo don't find the UIAtlas at memory?

Title: Re: UIAtlas's memory
Post by: ArenMook on June 24, 2013, 10:40:46 AM
Until Unity loads some atlas, there is nothing available in memory. An atlas is loaded into memory when it's used, or when you select it in inspector.