Skip to content

Allow unloading scenes with any valid reference #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
joaoborks opened this issue Aug 16, 2024 · 0 comments · Fixed by #50
Closed

Allow unloading scenes with any valid reference #44

joaoborks opened this issue Aug 16, 2024 · 0 comments · Fixed by #50
Assignees
Labels
enhancement New feature or request

Comments

@joaoborks
Copy link
Member

At the current version (3.0.x), to unload a scene you need to either use a direct LoadSceneInfoScene with the target scene reference, or the same ILoadSceneInfo that loaded it in the first place.

The package should allow unloading a scene from any ILoadSceneInfo that can point to a loaded scene. This is not possible to do with addressable scenes.

So, the scene load/unload table would be:

Load \ Unload LoadSceneInfoScene LoadSceneInfoName LoadSceneInfoIndex LoadSceneInfoAddress LoadSceneInfoAssetReference
LoadSceneInfoName
LoadSceneInfoIndex
LoadSceneInfoAddress
LoadSceneInfoAssetReference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant