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

mayankghanshala

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

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 307
  • -Receive: 1144
  • Posts: 21,985
  • Toronto, Canada
    • View Profile
Re: Deletion and instanitaing of gameobjects changing layers of all panels
« Reply #1 on: February 18, 2017, 06:33:03 PM »
Both your NGUI and your Unity versions are out of date. Sorry I can only support the latest version of NGUI, and that also requires Unity 4.7.0 or higher.

I also don't understand your question: I don't know what "changing all of the panel or camera" means.