Skip to content

Request: Transition to Current Scene (Reload Current Scene) #51

Open
@miltoncandelero

Description

@miltoncandelero

Summary

A way to transition to a copy of the current scene.

Problem or Use Case

Very useful for "restarting a level". Having a single button that no matter what level in your game you are, you can reload it and start from a fresh state.

Proposed Solution

I've achieved it previously (v3.x) by keeping track of the parameters for the last call to TransitionToScene and simply retriggering the last TransitionToScene.

There could also be a way from MySceneManager.GetActiveScene() but I can't find something that works with Addressables (I can't get the addressable back from the active Scene reference)

PS: Amazing v4 overhaul. Pretty close to my boilerplate but much more robust <3

Acknowledgement

  • I have searched the existing issues to ensure this feature hasn't been requested already

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions