Skip to content

Provides a set of tools to organize scene loading and management in the Unity project.

License

Notifications You must be signed in to change notification settings

StansAssets/com.stansassets.scene-management

Repository files navigation

Scene Management

Provides a set of tools to organize scene loading and management in the Unity project.

NPM Package openupm Licence Issues

API Reference | Forum | Wiki

Install from NPM

  • Navigate to the Packages directory of your project.
  • Adjust the project manifest file manifest.json in a text editor.
  • Ensure https://registry.npmjs.org/ is part of scopedRegistries.
    • Ensure com.stansassets is part of scopes.
    • Add com.stansassets.scene-management to the dependencies, stating the latest version.

A minimal example ends up looking like this. Please note that the version X.Y.Z stated here is to be replaced with the latest released version which is currently NPM Package.

{
  "scopedRegistries": [
    {
      "name": "npmjs",
      "url": "https://registry.npmjs.org/",
      "scopes": [
        "com.stansassets"
      ]
    }
  ],
  "dependencies": {
    "com.stansassets.scene-management": "X.Y.Z",
    ...
  }
}
  • Switch back to the Unity software and wait for it to finish importing the added package.

Install from OpenUPM

  • Install openupm-cli npm install -g openupm-cli or yarn global add openupm-cli
  • Enter your unity project folder cd <YOUR_UNITY_PROJECT_FOLDER>
  • Install package openupm add com.stansassets.scene-management