how can I get the error text and code in unity networking,?
I did the following:
1- subscribe to the Handler : Client.RegisterHandler(MsgType.Error, OnError);
2- create the handler
void OnError(NetworkMessage netMsg)
{
how can I print the ERROR message here
}
I did the following:
1- subscribe to the Handler : Client.RegisterHandler(MsgType.Error, OnError);
2- create the handler
void OnError(NetworkMessage netMsg)
{
how can I print the ERROR message here
}