Skip to content

libsugar/SugarUnity

Repository files navigation

SugarUnity

NPM Nuget openupm MIT

Like syntactic sugar, but is library

Installation

  • Nuget

    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
    config Project Settings -> Package Manager -> Scoped Registeries
    then add package in package manager