如何通过wifi将android设备的加速计传感器x,y,z值发送到unity5服务器 [英] How to send accelerometer sensor x, y, z values of android device to unity5 server via wifi
本文介绍了如何通过wifi将android设备的加速计传感器x,y,z值发送到unity5服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好我正在开发一个团结5的动作游戏(在电脑中),我将使用Android手机作为控制器,现在我将把android设备的加速度计值发送到统一,为此我必须创建一个统一的服务器,可以读取加速度计值,并根据该值移动对象。
我尝试过:
i不要尝试任何东西。但我不会立即回答。帮助我
hi guys i am developing an motion game in unity 5(in computer) and i going to use android mobile as a controller, now I'll will be sending the accelerometer values of android device to unity and for that i had to create a server in unity which can read accelerometer values and according to that values object will be moved.
What I have tried:
i don't try anything.but i won't answer immediately. help me
推荐答案
我认为有可用的资源:简单的TCP / IP客户端 - 服务器 - 统一社区Wiki [ ^ ]。
I looks there are resources available: Simple TCP/IP Client - Server - Unify Community Wiki[^].
这篇关于如何通过wifi将android设备的加速计传感器x,y,z值发送到unity5服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文