Author Topic: Re: Deletion and instanitaing of gameobjects changing layers of all panels  (Read 1635 times)


  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Hi I am using ngui 3.9.4 with unity 4.6.7. I have a UIRoot in layer NewUILayer and a UICamera in LayerUI and different panel also in different Layer inside UIRoot. My problem is if i am trying to destroy and instantiate some game object inside other pane (say 100) then doing it around 2 or 3 time it is changing all of the panel or camera to the layer  NewUILayer same as UIRoot. Because of that I am unable to see some game objects. I know that a panel forced to its child to be in the same layer , but can a panel(UIroot) force other child panel and UICamera to be in the same layer.