- Home /
Cross dissolve between scenes
There are plenty of options for simply fading out or in a particular scene or level,
https://www.assetstore.unity3d.com/en/#!/content/9526
but what if you want to cross dissolve BETWEEN scenes or levels? Is this possible?
You can fade out in one scene and then fade in in the next. If you want to make the first one transparent while the second gets opaque (from transparent) you'll need LoadLevelAditive with some way of tracking the elements in each scene and fade them out/in.
Answer by smoggach · Sep 29, 2014 at 02:50 PM
You can accomplish this with additive level loading. My strategy is to have everything in a level under one parent object with the tag "scene_root" and a SceneManager who keeps track of two scene_roots (the incoming and outgoing)
However keep in mind you'll need both of these scenes in memory to perform the transition. You can accomplish the same effect using RenderTextures as well but it's tricky to get the RenderTexture right.
thanks. Helpful but since a novice unity dev is there any sample you might point me to? For instance, where would the Scene$$anonymous$$anager class exist? Aren't all class scripts contained WITHIN any given scene or level?
Additive scene management requires a bit of code. If you choose to use it the best way is to put all of your global scripts and objects into the main scene then load the rest of your stuff from there.
Your answer
Follow this Question
Related Questions
Fade into and out of scenes 3 Answers
Superimposition fade between two scenes 1 Answer
fade between scenes? 1 Answer
Fading scene in unity 3 Answers
Scene Fader - Please Help! 1 Answer