class in UnityEngine.SceneManagement / extends MonoBehaviour
A component that animates an effect meant to decorate the change between scenes.
To create a new transition effect create a new script, make your class inherit from SceneTransitionEffect and override the abstract property TransitionValue. This property will automatically be set to values between 0 and 1 when animating the transition, at 1 the effect is visible, at 0 is invisible.
| Length | Duration of the animation in seconds. |
|---|
| Length | float {get;set;} Duration of the animation in seconds. |
|---|---|
| Animating | float {get;} True if the transition is currently being animated. |
| TransitionValue | float {get; protected set;} Current value of the animation; always between 0 and 1. At 1 the effect is visible, at 0 is invisible. |
| Abstract property, override it to create your own transition effects. |
Play this transition effect.
Set the transition effect to one of its final values without animation.