Hello.
I have two buttons : create game , and join game. My code is :
It work ONCE between my computer and my...
UNET networking : I can't connect with IP
I have two buttons : create game , and join game. My code is :
Code (CSharp):
- public void StartupHost() {
- SetPort ();
- NetworkManager.singleton.StartHost ();
- }
- public void JoinGame() {
- SetIPAddress ();
- SetPort ();
- NetworkManager.singleton.StartClient ();
- }
- void SetIPAddress (){
- NetworkManager.singleton.networkAddress = "192.168.0.4";
- }
- void SetPort() {
- NetworkManager.singleton.networkPort = 7777;
- }
UNET networking : I can't connect with IP