Author Topic: NGUI Button With Vuforia  (Read 2483 times)

amirivala

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 17
    • View Profile
NGUI Button With Vuforia
« on: August 20, 2014, 02:27:06 PM »
Hi,
I've tried to make an Interactive NGUI menu on AR with Vuforia to track my menu and buttons on it.
everything works fine and its tracking but my buttons is not working and i don't know why?
Actully When i pull out my bottoms from UI Root (3D) in run time, the buttons works. but scant do it in editor time
please help me
Thank you and
sorry for my bad english
Amir

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI Button With Vuforia
« Reply #1 on: August 20, 2014, 05:57:16 PM »
You seem to have a perspective camera positioned at origin where it can't seem to see anything, and you didn't set its layer either.

Get rid of UIRoot. You don't need it if you're going with a 3D approach. While you're at it, get rid of your UI camera and move your UI to be on the same layer as your game objects so they are drawn by your main camera.

amirivala

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: NGUI Button With Vuforia
« Reply #2 on: August 21, 2014, 09:49:06 AM »
It Workes
Thank you So Much