zfoo sdk of csharp and lua for unity and godot
support C# in .net framework
support C# in unity C# Script
support C# in unity webgl
support zfoo lua in xlua
- start server in TcpServerTest
- await usage in C#
var response = await tcpClient.asyncAsk(request) as TcpHelloResponse;
- send packet in C#
tcpClient.Send(request)
- async callback in lua
asyncAsk(request,
function(answer)
print("async ask callback --> ", answer)
end)
- send packet in lua
send(request)