DoopelPonger
|
Makes the screen go black to allow for a fade in and out transition. More...
Public Member Functions | |
void | Awake () |
Initialize the color to cover the camera and register the event listeners that triggers transitions. More... | |
Public Attributes | |
float | timeBeforeShowingMenu |
float | timeToFadeIn |
float | timeToFadeOut |
Makes the screen go black to allow for a fade in and out transition.
void CameraFadeInAndOut.Awake | ( | ) |
Initialize the color to cover the camera and register the event listeners that triggers transitions.
float CameraFadeInAndOut.timeBeforeShowingMenu |
Default delay time before showing the game. The screen starts in black and fades into the main menu.
float CameraFadeInAndOut.timeToFadeIn |
The time to remove the black from the camera.
float CameraFadeInAndOut.timeToFadeOut |
The time to cover the screen with black.