Property | Type | Description | |
---|---|---|---|
fadeColor | Color | ||
fadeTime | float |
Method | Description | |
---|---|---|
Awake ( ) : void |
Initialize.
|
|
OnDestroy ( ) : void |
Cleans up the fade material
|
|
OnEnable ( ) : void |
Starts the fade in
|
|
OnLevelWasLoaded ( int level ) : void |
Starts a fade in when a new level is loaded
|
|
OnPostRender ( ) : void |
Renders the fade overlay when attached to a camera object
|
Method | Description | |
---|---|---|
FadeIn ( ) : IEnumerator |
Fades alpha from 1.0 to 0.0
|