Author Topic: does NGUI work with unity2d?  (Read 2245 times)

pollyox16

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
does NGUI work with unity2d?
« on: March 15, 2014, 10:35:59 PM »
I dont know if this asset works in my project. I use unity but I created my project in 2d. Does NGUI work with this?

Thank you.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: does NGUI work with unity2d?
« Reply #1 on: March 15, 2014, 10:56:47 PM »
Yes. NGUI doesn't use Unity 2D's features unless you use UI2DSprite types, however. The event system (UICamera) is able to send events to 2D colliders if its mode is set accordingly.

pollyox16

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: does NGUI work with unity2d?
« Reply #2 on: March 16, 2014, 12:06:57 AM »
Where can I find some documentation or a tutorial of using ngui inside 2d proyects? Is there a easy way to do it? Or am I going to have a hard time figuring out how to use it with this settings?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: does NGUI work with unity2d?
« Reply #3 on: March 16, 2014, 12:12:26 PM »
It's no different than any other project, as I mentioned. ALT+SHIFT+S, adds a sprite and creates the initial UI hierarchy with a separate camera.