Please help here my code i never get the callbackfrom Pio services
but it works when i change the platform to pc or web plz help ?
public void ConnectToLobby()
{
if ((_client != null) && (_userid != null))
{
LoadingState = _loadingstate.CONNECTING_TO_SERVER;
_client.Multiplayer.CreateJoinRoom( null,
"Lobby", true,
null,null,
delegate( Connection connection)
{
Debug.Log("Connected to Lobby from pio");
infomsg = "pio connected to lobby";
LoadingState = _loadingstate.DONE;
_connection = connection;
_connection.OnMessage += OnMessage;
onConnect(true);
Connected = true;
Debug.Log("this pio test true connection from Conencted =" + this.Connected);
},
delegate( PlayerIOError error )
{
onConnect(false);
Connected = false;
infomsg = "pio can't connect to lobby";
Debug.Log( "Failed to join room: " + error.Message );
} );
}
}