在unity中添加Newtonsoft.Json

在Packages->packages-lock.json中修改com.unity.collab-proxy为


    "com.unity.collab-proxy": {
      "version": "1.5.7",
      "depth": 0,
      "source": "registry",
      "dependencies": {
        "com.unity.nuget.newtonsoft-json": "2.0.0"
      },
      "url": "https://packages.unity.cn"
    },


在Packages->manifest.json中修改com.unity.collab-proxy对应的版本号为packages-lock.json中version的版本号

 

 这样就可以在unity中正常使用Newtonsoft.Json

 

猜你喜欢

转载自blog.csdn.net/qq_35966769/article/details/127487582