How to Import NuGet package in Unity3d

      You are often required to add third-party DLL or NuGet packages in the Unity3d project. In this unity tutorial, I will show you step by step that how to add NuGet Package or DLL into Unity project. For this tutorial, we choose newtonsoft NuGet package. You can adopt these steps for any NuGet package.
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 view below given image:
  6. Open unity workspace and create a plugin folder. Paste your DLL file here.
Congrats! You have successfully added NuGet Package in Unity3d.

Learn More:

Post a Comment

0 Comments