Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: jeldrez on September 05, 2014, 03:05:56 PM

Title: Double Slice on Texture
Post by: jeldrez on September 05, 2014, 03:05:56 PM
Hi,
I need a double slice texture, like the image attached. I just want the green part to repeat en each side.
Is this possible?

My first thought was using 2 images; one for the center and another one for the side and repeat this one to the other side. At the end are 3 images.

Thanks

Title: Re: Double Slice on Texture
Post by: ArenMook on September 06, 2014, 01:56:58 AM
Yes, you have to either use 3 sprites here, or create a custom widget type.
Title: Re: Double Slice on Texture
Post by: jeldrez on September 09, 2014, 08:07:07 AM
Ok, thanks!