Welcome,
Guest
. Please
login
or
register
.
May 31, 2026, 08:05:16 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Convert all UISlicedSprite to UISprite
« previous
next »
Print
Pages: [
1
]
Author
Topic: Convert all UISlicedSprite to UISprite (Read 7949 times)
NaxIonz
Jr. Member
Thank You
-Given: 3
-Receive: 0
Posts: 70
Convert all UISlicedSprite to UISprite
«
on:
October 08, 2013, 09:24:55 AM »
Is there a clean way to switch all my objects using UISlicedSprite to UISprite?
Since UISlicedSprite and UIFilledSprite have been deprecated, I want to convert all those over.
Logged
NaxIonz
Jr. Member
Thank You
-Given: 3
-Receive: 0
Posts: 70
Re: Convert all UISlicedSprite to UISprite
«
Reply #1 on:
October 08, 2013, 09:55:14 AM »
I just made a helper script that copies off the values of the UISlicedSprite, destroys it, then adds a new UISprite to it.
Seems safe enough.
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
Re: Convert all UISlicedSprite to UISprite
«
Reply #2 on:
October 09, 2013, 02:04:29 AM »
That's the way to go. I think it should automatically do that, but I think that was phased out with 3.0 so the tool isn't there anymore. If you made your own, then thumbsup.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Convert all UISlicedSprite to UISprite
«
Reply #3 on:
October 09, 2013, 08:28:27 AM »
The tool is there. It's a part of the upgrade tools that come with NGUI.
Logged
NaxIonz
Jr. Member
Thank You
-Given: 3
-Receive: 0
Posts: 70
Re: Convert all UISlicedSprite to UISprite
«
Reply #4 on:
October 09, 2013, 08:39:06 AM »
Quote from: ArenMook on October 09, 2013, 08:28:27 AM
The tool is there. It's a part of the upgrade tools that come with NGUI.
lol - there's upgrade tools? I totally missed those, then
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Convert all UISlicedSprite to UISprite
«
Reply #5 on:
October 09, 2013, 08:41:00 AM »
Did you miss the 2.7 -> 3.0 upgrade video too?
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Convert all UISlicedSprite to UISprite