DoopelPonger
Public Member Functions | Public Attributes | List of all members
CameraFadeInAndOut Class Reference

Makes the screen go black to allow for a fade in and out transition. More...

Inheritance diagram for CameraFadeInAndOut:
Inheritance graph
[legend]
Collaboration diagram for CameraFadeInAndOut:
Collaboration graph
[legend]

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
 

Detailed Description

Makes the screen go black to allow for a fade in and out transition.

Member Function Documentation

◆ Awake()

void CameraFadeInAndOut.Awake ( )

Initialize the color to cover the camera and register the event listeners that triggers transitions.

Member Data Documentation

◆ timeBeforeShowingMenu

float CameraFadeInAndOut.timeBeforeShowingMenu

Default delay time before showing the game. The screen starts in black and fades into the main menu.

◆ timeToFadeIn

float CameraFadeInAndOut.timeToFadeIn

The time to remove the black from the camera.

◆ timeToFadeOut

float CameraFadeInAndOut.timeToFadeOut

The time to cover the screen with black.


The documentation for this class was generated from the following file: