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