NuGet packages in Unity

前端 未结 5 940
粉色の甜心
粉色の甜心 2020-12-31 06:21

I want to use some NuGet packages inside Unity. I achieved that Unity finds the downloaded DLLs according to this article (https://www.what-could-possibly-go-wrong.com/unity

5条回答
  •  粉色の甜心
    2020-12-31 06:54

    You really don't wanna go down the path of configuring Unity to work with Nuget automatically. That article is rather old. With Unity 2018, you get a .net standard 2.0 compatibility level, which should be perfect for Nuget packages. Simply download the package using a separate VS project (as mentioned in the article), then take the netstandard20 version of the DLL and place it in your Unity project.

提交回复
热议问题