https://github.com/rossogames/rossoforge-scenes
A lightweight and flexible service that centralizes scene loading, unloading, and transitions, ensuring smooth and efficient navigation between scenes
https://github.com/rossogames/rossoforge-scenes
scene transition transitions unity
Last synced: about 1 month ago
JSON representation
A lightweight and flexible service that centralizes scene loading, unloading, and transitions, ensuring smooth and efficient navigation between scenes
- Host: GitHub
- URL: https://github.com/rossogames/rossoforge-scenes
- Owner: rossogames
- License: mit
- Created: 2025-06-29T21:44:46.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2026-01-17T21:04:06.000Z (5 months ago)
- Last Synced: 2026-01-18T07:52:20.451Z (5 months ago)
- Topics: scene, transition, transitions, unity
- Language: C#
- Homepage:
- Size: 131 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Rosso Games
Rossoforge - Scenes
**Rossoforge-Scenes** A lightweight and flexible service that centralizes scene loading, unloading, and transitions, ensuring smooth and efficient navigation between scenes. It is designed to simplify and streamline scene management in Unity projects
#
**Version:** Unity 6 or higher
**Tutorial:** [Pending...]
**Dependencies:**
* [Rossoforge-Core](https://github.com/rossogames/Rossoforge-Core.git)
* [Rossoforge-Utils](https://github.com/rossogames/Rossoforge-Utils.git)
* [Rossoforge-Events](https://github.com/rossogames/Rossoforge-Events.git)
* [Rossoforge-Services](https://github.com/rossogames/Rossoforge-Services.git)
#
```csharp
// Setup
ServiceLocator.SetLocator(new DefaultServiceLocator());
var eventService = new EventService();
var sceneService = new SceneService(_sceneTransitionData);
ServiceLocator.Register(eventService);
ServiceLocator.Register(sceneService);
ServiceLocator.Initialize();
// Anywhere in your code
var myService = ServiceLocator.Get();
// Change scene displaying transition scene
_sceneService.ChangeScene(sceneName);
_sceneService.ChangeScene(sceneName, _customSceneTransitionData);
// Load and undload scenes immediately without showing transition effect
_sceneService.UnloadScene(sceneName);
_sceneService.LoadScene(sceneName, LoadSceneMode.Additive);
// Reload the current scene displaying transition scene
_sceneService.RestartScene();
_sceneService.RestartScene(_customSceneTransitionData);
// Load the previous scene displaying transition scene
_sceneService.GoBackScene();
_sceneService.GoBackScene(_customSceneTransitionData);
```
#
This package is part of the **Rossoforge** suite, designed to streamline and enhance Unity development workflows.
Developed by Agustin Rosso
https://www.linkedin.com/in/rossoagustin/