Author Topic: can we do this with NGUI?  (Read 1851 times)

DevFromSpace

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
can we do this with NGUI?
« on: September 25, 2014, 05:14:14 AM »
I would like to know if its possible to do same features with ngui
https://www.youtube.com/watch?v=Mzt1rEEdeOI
-3d canvas follow a npc when its paranted: I have tried the 3D GUI. its not exactly same
-mecanim animation stuff: i like how its simple to select the components value to change on the animation and animate them in mecanim.

is it possible to do and have same result?

can we request a tutorial or demo scene ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: can we do this with NGUI?
« Reply #1 on: September 25, 2014, 07:41:40 PM »
1. New game object.
2. Attach UIPanel to it and scale it so that it's not huge (0.01, 0.01, 0.01 for example).
3. You can now add widgets underneath it like normal.

DevFromSpace

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Re: can we do this with NGUI?
« Reply #2 on: September 26, 2014, 04:22:48 AM »
thank you didnt thought that was simple like this.
how should i setup camera to render this? 3d camera ?
using my normal "MainCamera"?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: can we do this with NGUI?
« Reply #3 on: September 27, 2014, 06:08:30 PM »
There is nothing to set up. Your main camera will draw your UI elements that are on a layer that it draws -- just like any other renderer.