Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: CazicThule on January 15, 2013, 06:13:48 PM
-
Is it possible to control NGUI programatically? For example, I want to make an inventory system. Obviously, the sprites shown would need to be dynamic based upon what the player has in their inventory. Is this possible?
-
Yep.
All you will need is access to the UISprite component and you can change the image by going mySprite.spriteName = "nameOfNewSprite";