Welcome,
Guest
. Please
login
or
register
.
November 29, 2023, 07:56:45 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Atlas Switch has no effect
« previous
next »
Print
Pages: [
1
]
Author
Topic: Atlas Switch has no effect (Read 1299 times)
mapleegreen
Guest
Atlas Switch has no effect
«
on:
January 30, 2013, 11:12:35 AM »
This is my second game use ngui, I didn't know why all the code work well in my first game,but failed in my seconde game.
atlasRef
.
replacement
=
Resources
.
Load
(
pairs
[
i
]
.
atlas2048x1536
,
typeof
(
UIAtlas
)
)
as
UIAtlas
;
.....
UISprite
bg
=
child
.
GetComponentInChildren
<
UISprite
>
(
)
;
bg
.
MakePixelPerfect
(
)
;
I do not even know how to describe the problem,the latest version ngui make some change about atlas switch?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Atlas Switch has no effect
«
Reply #1 on:
January 30, 2013, 08:30:32 PM »
I am pretty sure I haven't done anything to break it, so I suggest you update your previous game to the latest version of NGUI and see if it works there.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Atlas Switch has no effect