如何将Networkig Player与Internet连接 [英] How to connect networkig player with internet

查看:164
本文介绍了如何将Networkig Player与Internet连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚遵循了有关> 此处的基本UNet a>,它的产卵网络汽车播放器可以由本地播放器控制.我可以通过与网络管理器组件一起提供的内置 Network Manager HUD 来建立或加入服务器. 我能够在不同PC上的LAN上运行和连接应用程序,但无法在其他网络上连接它.我不知道是什么原因.我是否需要为其制造或购买服务器,或者我做错了什么.

I just followed a guide about Basic UNet Tut Here, Its spawning network car player which can be controlled by local player. I can make or join server through built-in Network Manager HUD which is provided by the unity along with Network Manager component. I am able to run and connect application on my LAN on different PCs but failed to connect it on other network. I don't know what are the reasons. Do I need to make or purchase a server for it or I am doing something wrong.

推荐答案

如果我没记错的话,Unity为在线游戏提供免费托管(有一些限制).

If i'm not mistaken, Unity offers free hosting for online games (There are some constraints).

  • 您需要登录到Unity控制面板并激活它.

那里有关于此的很棒的教程/文档.

There is great tutorial/documentation about this there.

我不记得具体细节,但是基本上,在控制面板中,您将获得一个可以放入网络管理器中的地址,那么您应该可以从另一个网络连接到您的游戏了.

I don't remember the specifics but basically, in your control panel you're going to get an address that you can put in your Network Manager, then you should be available to connect to your game from another network.

这篇关于如何将Networkig Player与Internet连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆