Author Topic: Lost the connection between NGUI elements and Atlas  (Read 4213 times)

mremus

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 23
    • View Profile
Lost the connection between NGUI elements and Atlas
« on: May 07, 2013, 09:09:01 PM »
Ok, I believe I pulled a real bonehead move.   I am a bit desperate here. In the Unity Project window I was moving things around a to organize things better. Hit the editor play button and realized my NGUI panel and all the elements (sprites & elements) had disappeared.  Could not tell what happened so I saved the scene and jumped into an earlier version of my scene that I knew worked that I had saved as a backup.
Same thing, no NGUI elements in the game view, but all the elements are in the Hierarchy window. 

Discovered that I had inadvertenly moved the Atlas folder into another folder. Ugh!
My assumption is that is what caused everything to disapper. Placed the Atlas folder back where it belonged in the Asset folder. Dragged and dropped the Atlas onto each of the NGUI sprites hoping that would "fix" things.  NADA!  Still no NGUI sprites or labels show up in the game view.  I really need some help here, supposed to be demoing my work in the next day or two.  How do I get the NGUI elements to reappear?  Thanks ahead of time.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Lost the connection between NGUI elements and Atlas
« Reply #1 on: May 08, 2013, 02:11:49 AM »
Moving an atlas isn't going to break anything assuming you did that from within Unity. What NGUI "sees"  is determined by the Culling Mask on the camera uses to draw the UI.

mremus

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 23
    • View Profile
Re: Lost the connection between NGUI elements and Atlas
« Reply #2 on: May 08, 2013, 05:03:48 AM »
Ok thanks for the input Aren.  Is there any possibility that the update to NGUI's latest version that I did yesterday about the same time my NGUI elements disappeared have anything to do with the problem?