Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: joahjang on December 16, 2013, 11:14:46 AM
-
Hi guys,
This is a super simple question.
I want to change UIAtlas's Material to none while I'm running my app via c# script. The reason is I don't use that Atlas on a specific scene. I double, triple checked whole hierarchy click by click and there's no connection with this Atlas.
So, I just want to get rid of that Material during my app is running. Could you please help?
Thanks.
-
I'm going to throw a wild guess here and assume that you are trying to get rid of unused resources.
The atlas material is not what you want to change. Unload its texture instead. Leave the material as-is.