Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: N3uRo on June 07, 2012, 01:11:19 PM
-
Hi Aren,
I have a proposal for you.
What if you change UICamera script to be extensible? We use Kinect and Multitouch (with a library because Unity doesn't support in Windows 7) as inputs in some projects and we wish that we could add as new inputs to NGUI.
Is there any chance to add an option like this? I'm speaking only about the ability of extending, not adding more Inputs by you (it's a lot of work).
Thanks!!
-
Generally its easier to add a separate input class, not extend UICamera itself.
-
But if we could extend (or an input manager) UICamera we could use your system and scripts like: UIDragObject, UIDragabblePanel, etc... Because this scripts make use of your UICamera. Also to extend your event system with other events.
If you make easier to your customers you could benefit of the extensions if they go public.
-
Your input class can set UICamera.lastHit and other properties prior to SendMessage its event much like UICamera does though.