Hi,
I am trying to port a fully working NGUI game to Ouya and running into some murky waters.
From some of the Ouya reference posts on this forum, I tried using CustomInput for the UICamera like so:
UICamera.onCustomInput += OuyaInput;
And in the function, I am able to capture the controller button clicks and axis values.
I am a little lost as to
1. how to translate the axis values and button clicks (say O-button click) so NGUI can set the UICamera.selectedobject and trigger OnPress/OnDrag etc.
2. if this needs to be added to every single button and object in the game which works with drag-drop or if I can have a central script that can interface with NGUI.
3. I noticed the Input.GetKey and Input.GetAxis are function pointers in UICamera. Can they be overridden to get data from Ouya in that environment?
Any help is much appreciated.