View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2020.3.26 or later
- Package size
- 476 KB
- Files
- 7
- Favorites
- 3
- Views in the past week
- 3
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $10.00 on
Keywords
FadeToScene
FadeToScene is a Unity asset that allows a soft transition between scenes, in a programmable but easy way!
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 3
FadeToScene screenshot 1
About this asset
FadeToScene is a Unity asset that allows a soft transition between scenes, in a programmable but easy way! Only make a call to a static function to change to a new scene, using both a customizable transition time and a customizable background colour.
This tool has the following features:
· Compatible with Editor, PC, Android and iOS (not tested on other platforms).
· Compatible with both landscape and portrait modes.
· Customizable transition speed time and background colour.
· The complete action is performed using an only programming instruction.
It includes a functional demo, where two different transitions have been added and configured between two scenes.
You can find a complete video that shows this feature in the following links:
Demo: https://youtu.be/KzLTH6PZogg
Adding to your project: https://youtu.be/qkXx7DjMpPw
From the publisher's Asset Store listing.
Technical details
You only have to call to a static method wherever you want in your code, although the most common place is within a function that handle some event (for instance, the one executed when a button is pressed).
This function has the following definition:
FadeToScene.FadeTo(string sceneName, Color fadeColor, float fadeTime);
Where:
· sceneName is the name of the new scene to load. Remember it must have been previously added to the Scenes in Build in the File / Build Settingssection.
· fadeColor is the colour of the background while the transition.
· fadeTime is the speed time of the transition, in seconds.
Examples:
FadeToScene.FadeTo(“myNewScene”, Color.red, 1f);
FadeToScene.FadeTo(“scene2”, new Color (0.1f, 0.5f, 0.3f), 1.5f);
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2020.3.26f1 | Compatible | Not listed | Not listed |
As listed on the Asset Store.