Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 743 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 743 Bytes

zfoo sdk of csharp and lua for unity and godot

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

Start Client

  • 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)