Skip to content

techno-dwarf-works/better-scene-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better Scene Management

openupm

This plugin allows you to serialize scene asset in inspector for loaing via SceneLoader.

Usage

[SerializeField] private SceneLoaderAsset nextScene;

private async void Awake()
{
    await SceneLoader.LoadSceneAsync(nextScene);
    //or
    await SceneLoader.LoadSceneAsync(asset, new LoadSceneOptions()
        {
         SceneLoadMode = LoadSceneMode.Additive,
         UseIntermediate = false,
         ProgressChanged = ProgressChanged
        });
}

private static void ProgressChanged(float value)
{ 

}

Install

How to install