Example #1
0
 // Begins fade in animation. Stores GameManager.Event to call after completion
 public void TriggerFadeIn(GameManager.Event afterFadeIn)
 {
     postFadeEvent = afterFadeIn;
     animator.SetTrigger("FadeIn");
 }
Example #2
0
 // Begins fade out animation. Stores GameManager.Event to call after completion
 public void TriggerFadeOut(GameManager.Event afterFadeOut)
 {
     postFadeEvent = afterFadeOut;
     animator.SetTrigger("FadeOut");
 }