Skip to content

xprees/unity-scene-management

Repository files navigation

Unity Scene Management Package

NPM Version

This package builds on top of the Unity Scene Management system and Unity Addressables package to build a powerful scene management system for Unity multi-scene projects (single scene is supported, too). Based on my Unity Events package, to avoid tight coupling.

Features

  • Scene Loading - Async scene (un)loading using the Addressables system and UniTasks.
  • SceneSO - A ScriptableObject that represents a scene with a metadata and type, which is used to load the scene properly.
  • Addressables Initialization - Provides scripts to initialize the Addressables system in the Init scene and load into the desktop mode.
    • Extendable to add custom initialization logic. See the Initialization folder.

Installation

Install the package using npm scoped registry in Project Settings > Package Manager > Scoped Registries

{
    "scopedRegistries": [
        {
            "name": "package.openupm.com",
            "url": "https://package.openupm.com",
            "scopes": [
                "com.cysharp"
            ]
        },
        {
            "name": "NPM - xprees",
            "url": "https://registry.npmjs.org",
            "scopes": [
                "cz.xprees",
                "com.dbrizov.naughtyattributes"
            ]
        }
    ]
}

Then simply install the package using the Unity Package Manager using the NPM - xprees scope or by the package name cz.xprees.scene-management.

About

Scene Management package for multi-scene workflow. Adds wrapper for addressable scenes and provides event-driven scene loader.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages