1.安装NuGetForUnity
打开包管理器窗口(窗口 |包管理器)
点击窗口左上角的 + 按钮,选择“从 git URL 添加包......”
输入以下网址,点击添加按钮
https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity
2.使用 NuGetForUnity 从 NuGet 安装 MessagePack 打开 NuGet -> 窗口管理 NuGet 包,搜索“MessagePack”并点击安装。
3.通过引用 git URL 安装 MessagePack.Unity 包。打开包管理器窗口,点击从 git URL 添加包......,输入 Follow 路径
https://github.com/MessagePack-CSharp/MessagePack-CSharp.gitpath=src/MessagePack.UnityClient/Assets/Scripts/MessagePack