Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Romano on December 02, 2013, 09:18:56 AM

Title: Slice and tiled testure in sprite
Post by: Romano on December 02, 2013, 09:18:56 AM
Hello

I want 9 slice sprite and tiled top, bottom, left, right sides and center. How to do it?
Title: Re: Slice and tiled testure in sprite
Post by: ArenMook on December 02, 2013, 09:27:48 AM
Linked in the Useful Stuff sticky post:

http://www.tasharen.com/forum/index.php?topic=857.msg7373#msg7373
Title: Re: Slice and tiled testure in sprite
Post by: Romano on December 03, 2013, 12:23:14 AM
and where is UISlicedSprite in NGUi 3.0.5 ?
Title: Re: Slice and tiled testure in sprite
Post by: Romano on December 03, 2013, 01:13:42 AM
Using UISprite instead UISlicedSprite. But, i have many error. What this displayColor.

Errors:
UISlicedTiledSprite.cs(38,24): error CS1502: The best overloaded method match for `BetterList<UnityEngine.Color>.Add(UnityEngine.Color)' has some invalid arguments
UISlicedTiledSprite.cs(38,28): error CS0103: The name `displayColor' does not exist in the current context
UISlicedTiledSprite.cs(38,24): error CS1503: Argument `#1' cannot convert `object' expression to type `UnityEngine.Color'
Title: Re: Slice and tiled testure in sprite
Post by: Romano on December 03, 2013, 01:51:43 AM
How work with class?
Title: Re: Slice and tiled testure in sprite
Post by: Romano on December 03, 2013, 02:03:19 AM
This script don't work (
i'm create SlicedTiledSpriteEditor, insert component in widget. He don't tiled texture (
Title: Re: Slice and tiled testure in sprite
Post by: Nicki on December 03, 2013, 09:09:43 AM
Essentially, you just need to remake it inside the UISprite class the way that the new Sliced,filled etc are made. I think I need to use this for a project too, so I'll have a look at it later tonight.
Title: Re: Slice and tiled testure in sprite
Post by: Romano on December 04, 2013, 01:14:12 AM
Nicki: How are you getting along?
Title: Re: Slice and tiled testure in sprite
Post by: Nicki on December 04, 2013, 01:52:07 PM
Haven't had time, but I'm looking at it right now.
Title: Re: Slice and tiled testure in sprite
Post by: Nicki on December 09, 2013, 03:41:27 PM
http://www.tasharen.com/forum/index.php?topic=7040.msg33249#msg33249