Author Topic: UITexture can be changed to UISprite automatically  (Read 3315 times)

zzc11414

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
UITexture can be changed to UISprite automatically
« on: March 21, 2014, 01:35:22 AM »
After several compilation,UITexture can be changed to UISprite automatically.

In the first compilation, UITexture will't be changed.But After several compilation,UITexture can be changed to UISprite automatically by unity editor.

My Unity is 4.0.3f4 mac version.My NGUI version:3.0.8 f4

It's very strange.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITexture can be changed to UISprite automatically
« Reply #1 on: March 21, 2014, 01:28:36 PM »
When you add the texture used by UITexture to the atlas, NGUI will automatically replace UITextures with UISprites. This is intentional.

zzc11414

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: UITexture can be changed to UISprite automatically
« Reply #2 on: March 22, 2014, 02:01:35 AM »
When you add the texture used by UITexture to the atlas, NGUI will automatically replace UITextures with UISprites. This is intentional.

Ok, .Thank you.