Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: pgloob on June 04, 2015, 09:52:51 AM
-
I am working on an app which is used for customization of various objects. For each of these objects there are hundreds of texture which could be possibly applied on it.
I am using a grid under a scrollview to display them. Each of the texture is placed under a sprite object. So overall the hierarchy looks like this-
Scrollview
-Grid
--Sprite
---UITexture
--Sprite
---UITexture
--Sprite
---UITexture...and so on.
Now the problem I am facing is that the textures get displayed sometimes but not always in the game scene. However when I am checking in the scene view they are present.
Please help me with this. I am using NGUI 3.6.9 and Unity 5.0.2.
I have attached an image of the problem.
Thanks in advance!
-
Your NGUI is extremely old, so I can't suggest much aside from updating to the latest.
Also I don't recommend you having all those textures there. Use an endless scroll view instead and recycle UITexture objects, reloading the actual 2D textures as needed. This way you won't have hundreds of textures, but only a handful.