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.
  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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
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.