private void Awake() { currentFader = GetComponent <Fader>(); Initialize(); }
public void Fade(Fader fader, GEFadeManager.FadeType type, float fadeDuration, AnimationCurve opacityCurve, float fadeTimeOffset = 0) { StartCoroutine(FadeContent(fader, type, fadeDuration, opacityCurve, fadeTimeOffset)); }