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