Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: mapleegreen on January 30, 2013, 11:12:35 AM

Title: Atlas Switch has no effect
Post by: mapleegreen 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.
  1. atlasRef.replacement = Resources.Load(pairs[i].atlas2048x1536,typeof(UIAtlas)) as UIAtlas;
  2. .....
  3.         UISprite bg =  child.GetComponentInChildren<UISprite>();
  4.                                 bg.MakePixelPerfect();
  5.  
  6.  
I do not even know how to describe the problem,the latest version ngui make some change about atlas switch?
Title: Re: Atlas Switch has no effect
Post by: ArenMook 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.