|
Post by sitedesign on Apr 11, 2013 9:49:04 GMT -5
I'm trying to use Mac as a server and iPad as a client, but they didn't seem to be able to communicate with each other. I have tried building the project on Mac by testing one on the Unity editor and another for a Mac built version and they worked fine. Somehow, it is not working between Mac and iPad/iPhone. Thank you in advance for any help. Here is my code...
connectToIP = Network.player.ipAddress; connectionPort = 26500; if(GUILayout.Button("Start my own server", GUILayout.Height(30))){ Network.InitializeServer(10, connectionPort, useNAT); }
if(GUILayout.Button("Connect", GUILayout.Height(25))){ Network.Connect(connectToIP, connectionPort); }
|
|