Hi all, help please, what need to use sockets? dll, or it is built into Unity?
Example… ServerSide
On GUI
if button.click SocketServer.Start(ip,port);
Update...
mes = socket.receive();
if (mes > 0)
{
if(mes[0] == 'Join')
{
Players++;
Player[players] = mes[1];
}
if(mes[0] == 'Model_0')
GameObject.Instantiate(prefab_0, mes[1], mes[2]);
if(mes[0] == 'pos')
GameObject.Find(mes[1]).transform.position = mes[2];
}
dll …?
photon linux not support
Sorry for my bad english!