Like syntactic sugar, but is library
-
dotnet add package LibSugar.Unity --version <version>
or
<PackageReference Include="LibSugar.Unity" Version="<version>" />
-
Unity Package by npmjs
Edit your
Packages/manifest.json
file like this{ "scopedRegistries": [ { "name": "npm", "url": "https://registry.npmjs.org", "scopes": [ "com.libsugar" ] } ], "dependencies": { "com.libsugar.sugar.unity": "<version>" } }
or use gui in unity editor
configProject Settings -> Package Manager -> Scoped Registeries
then add package in package manager