enet icon indicating copy to clipboard operation
enet copied to clipboard

Can this support the unity game engine?

Open scc172fly opened this issue 3 years ago • 4 comments

I want to use it in the game client made by unity, but I don't know how to do it. Do you support it?

scc172fly avatar Sep 06 '21 08:09 scc172fly

The easiest way would probably be to use a C# implementation like this: https://github.com/nxrighthere/ENet-CSharp

lucaheft avatar Sep 13 '21 08:09 lucaheft

its not implementation its wrapper to the native lib

meiry avatar Oct 16 '21 08:10 meiry

hi @scc172fly Have you figured out how to use it in Unity? I also tried the https://github.com/nxrighthere/ENet-CSharp, and can't work normally. Unable to communicate with the server. The server uses the latest enet official source code.

leizhiren avatar Apr 15 '23 08:04 leizhiren

The server uses the latest enet official source code.

Since the README.md of Enet-CSharp says "This is an independent ENet implementation with a modified protocol for C, C++, C#, and other languages.", you probably shouldn't expect it to be compatible with ENet. If you want to use ENet-CSharp, maybe you should figure out how to use ENet-CSharp on your server as well.

bjorn avatar Apr 17 '23 12:04 bjorn