BomberUnits
...a Unity learning project
SceneFader Class Reference
+ Inheritance diagram for SceneFader:
+ Collaboration diagram for SceneFader:

Public Member Functions

void FadeOut (UnityAction onFadeOutCompleteCallback=null)
 Activates the FadeOut animation You can also provide no argument to have no callback invoked after the fade-out. More...
 
void FadeIn ()
 Activates the FadeIn animation.
 
void OnFadeComplete ()
 

Private Member Functions

void Awake ()
 

Private Attributes

Animator anim
 
UnityAction onFadeOutCompleteCallback = null
 

Detailed Description

Definition at line 5 of file SceneFader.cs.

Member Function Documentation

◆ FadeOut()

void FadeOut ( UnityAction  onFadeOutCompleteCallback = null)
inline

Activates the FadeOut animation You can also provide no argument to have no callback invoked after the fade-out.

Definition at line 29 of file SceneFader.cs.


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