Support => NGUI 3 Support => Topic started by: Sona on February 05, 2013, 10:59:41 PM
Title: Changing Image in Simple texture using button
Post by: Sona on February 05, 2013, 10:59:41 PM
I have two image button(nextButton and previousButton), and a Simple Texture, While clicking on nextButton, next image should come on Simple Texture and clicking on previousButton, previous image should come on Simple Texture. I cant able to change texture of Simple Texture. Please help to solve this issue.
Title: Re: Changing Image in Simple texture using button
Post by: Nicki on February 06, 2013, 05:04:14 AM
UITexture myUITexture;
Texture myOtherTextureReference;
myUITexture.mainTexture= myOtherTextureReference;
Title: Re: Changing Image in Simple texture using button
Post by: Sona on February 07, 2013, 07:01:54 AM