What i really want to do is,
In my game, I have a menu with bunch of ngui buttons that are in a draggable panel being able to drag horizontally.
The game is for an iphone. Iphone has a built in compass. I got a plugin that detects the compass as well as returns values. Based on those values
i want to be able to drag the panel left and right controlled by the compass.
Essentially, I want to achieve an action where I can make the panel draggable with the compass without using any touch events.
One approach,that i thought of is if i can drag the panel in code and then with compass reading i can set those values to drag the panel.