Like syntactic sugar, but is library
-
dotnet add package LibSugar --version <version>
or
<PackageReference Include="LibSugar" 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": "<version>" } }
or use gui in unity editor
configProject Settings -> Package Manager -> Scoped Registeries
then add package in package manager