Recently developed the game Project client using unity, while the server side uses PHP, want to compress the client and the server to transfer the amount of communication data.
What are the available compression decompression algorithms in unity? Is there a symmetric compression decompression API available on the PHP side?
Thank you ~
Reply content:
Recently developed the game Project client using unity, while the server side uses PHP, want to compress the client and the server to transfer the amount of communication data.
What are the available compression decompression algorithms in unity? Is there a symmetric compression decompression API available on the PHP side?
Thank you ~
If it is a simple data transfer, rather than RPC, the usual zip, gzip, lzo both sides support it. Of course, the compression algorithm should not be included in unity, but a common library.