简体   繁体   English

统一,Android和网络

[英]unity, android and networking

Im coding a VR game for google cardboard, the game runs in the phone (Android) then I have a machine (windows) that tracks the hands and send information to the game so the virtual hands move with the real ones. 我为谷歌纸板编写了一个VR游戏,该游戏在手机(Android)中运行,然后我有一台机器(Windows)来跟踪手并将信息发送到游戏,以便虚拟手与真实手一起移动。

The hand tracking works nice, the game works nice BUT .. the connectivity is broken. 手部跟踪效果很好,游戏效果很好,但是..连通性已损坏。

I developed the client/server based in tcp .net sockets and now I discover that sockets are closed for the free version of anrdoid sdk. 我开发了基于tcp .net套接字的客户端/服务器,现在我发现免费版本的anrdoid sdk的套接字已关闭。

What are my options? 我有什么选择? stuff like photon, appwarp ? 像光子一样的东西? are they free? 他们有空吗? this is a hobbyist project so no budget at all. 这是一个业余爱好者项目,因此完全没有预算。 would bluetooth work? 蓝牙可以工作吗? I can buy a BT dongle for the PC, does Unity have BT interfaces ? 我可以为PC购买BT加密狗,Unity是否具有BT接口? Any other free solution ?? 还有其他免费解决方案吗?

Since Unity 5 this is not the case anymore. 从Unity 5开始,情况就不再如此。 .Net Sockets work out of the box. .Net套接字开箱即用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM