Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AirConsole.prototype.onDeviceMotion = function moveAcc(data) {
- airconsole.message(AirConsole.SCREEN, {X: data.x, Y: data.y, Z: data.z})
- }
- void OnMessage(int receivedID, JToken receivedData){
- print((float)data["X"]);}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement