Author Topic: How to show a panel on top of a 3d scene?  (Read 2594 times)

extrakun

  • Guest
How to show a panel on top of a 3d scene?
« on: June 05, 2013, 07:12:54 AM »
Hi, I am evaluating NGUI for a project, and I am wondering how do I show a panel on top of a 3d scene (not as a part of a 3d scene, but floating on top of it in as a 2d panel).  I tried placing some 3D objects behind around the panel in the Quest Log example but they aren't showing up.

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: How to show a panel on top of a 3d scene?
« Reply #1 on: June 05, 2013, 11:53:19 AM »
You're going to need 2 cameras.
One for the 2D GUI and another one for 3d objects, just use higher depth on 2D camera.

mrinvisible

  • Guest
Re: How to show a panel on top of a 3d scene?
« Reply #2 on: December 22, 2013, 11:23:47 PM »
Hey, I get the same issue. But I want to show many panel types, each object be clicked will show a panel.
I've just success with one panel type, but when I tried to put more panel type, it may be crashed :(.