NuGet packages in Unity

前端 未结 5 943
粉色の甜心
粉色の甜心 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 07:01

    Here are the details,

    1. go to your desired NuGet package webpage.
    2. on the right side **Download Package** option click it.
    3. your package **.nupkg** file will be downloaded.
    4. change its extension to .zip and extract it
    5. go to lib and copy your package dll file from net or any netstandard folder. For [your unity project compatibility purposes][2] view this:
    

        6. open unity workspace and create plugin folder 
        7. paste your dll file here.
    

    Here is the video guide, i have imported newtonsoft.json pacakge in unity

提交回复
热议问题