Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: calbar on October 16, 2013, 08:22:08 PM

Title: Can you sanity check my plan to integrate NGUI?
Post by: calbar on October 16, 2013, 08:22:08 PM
I wanted to get an expert opinion on my high-level approach to NGUIfying my game. It's top-down with drag, pinch, and rotate camera controls, selectable 2D UI elements, and selectable 3D objects in the environment.

So here was my plan:
How does that sound?

Thanks!
Title: Re: Can you sanity check my plan to integrate NGUI?
Post by: calbar on October 18, 2013, 09:52:33 AM
I'd still love to get some feedback on this approach before I proceed!
Title: Re: Can you sanity check my plan to integrate NGUI?
Post by: ArenMook on October 18, 2013, 04:35:00 PM
FallThrough may not be the place for gestures. What if you start the gesture on a unit (many units on the screen)? GenericEventHandler may be the better way to go for gestures.
Title: Re: Can you sanity check my plan to integrate NGUI?
Post by: calbar on October 19, 2013, 07:14:36 PM
Ah, good point. Now that I think about it, even if a GameObject doesn't respond to an event, it's still gonna intercept the raycast.

Alright, outside of that, I'll assume this approach sounds good. Thanks again man!