Skip to content

Multi scene support for Unity3D

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

UnioGame/UniGame.MultiScenes

Repository files navigation

MultiScenes

Multi scene support for Unity3D

Getting Started

How to Install

Odin Inspector or Tri-Inspector recommended to usage with this Package (https://odininspector.com | https://github.com/codewriter-packages/Tri-Inspector)

Add to your project manifiest by path [%UnityProject%]/Packages/manifiest.json these lines:

{
 "dependencies": {
    "com.unigame.multiscenes" : "https://github.com/UnioGame/UniGame.MultiScenes.git"
  }
}

Usages

Create Multiscene Asset

When your asset is ready you can load a set of game scenes and bake them into asset data

  • Open - Load baked scene into workspace
  • Update - Bake current loaded scene from worlspace into asset data
  • Validate - Validate backed data

API References

/// <summary>
/// Open scenes async by addressable MultiSceneAsset reference with target LoadSceneMode
/// </summary>
/// <param name="multiSceneAssetReference">reference to multiscene asset</param>
/// <param name="loadSceneMode">scene load mode</param>
public static async UniTask OpenScenesAsync(
            this AssetReferenceT<MultiSceneAsset> multiSceneAssetReference, 
            LoadSceneMode loadSceneMode)
            
            
/// <summary>
/// Open scenes async by MultiSceneAsset with target LoadSceneMode
/// </summary>
/// <param name="multiSceneAsset">multiscene asset</param>
/// <param name="loadSceneMode">scene load mode</param>
public static async UniTask OpenScenesAsync(
    this MultiSceneAsset multiSceneAsset, 
    LoadSceneMode loadSceneMode)
    

License

MIT

About

Multi scene support for Unity3D

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Languages