如何将Networkig Player与Internet连接 [英] How to connect networkig player with internet
问题描述
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屋!