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.
- 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
Initializationfolder.
- Extendable to add custom initialization logic. See the
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.