Unity, socket or websocket
Unity, socket or websocket
I am using an Unity client. Should I use Socket or Websocket with the Bluebox for the connection. Which one has better performance? What are the advantages and disadvantages? sorry for my English not good.
Re: Unity, socket or websocket
Hi,
in Unity you can use socket for all platforms with exclusion of WebGL which must use Websocket.
Both socket and Websocket can coexist in the same codebase with a bit of conditional compilation. You can take a look at this basic example: http://docs2x.smartfoxserver.com/Exampl ... /connector
to see you can use both at the same time.
Cheers
in Unity you can use socket for all platforms with exclusion of WebGL which must use Websocket.
Both socket and Websocket can coexist in the same codebase with a bit of conditional compilation. You can take a look at this basic example: http://docs2x.smartfoxserver.com/Exampl ... /connector
to see you can use both at the same time.
Cheers
Who is online
Users browsing this forum: No registered users and 88 guests