/// <summary> /// Start this instance. /// </summary> void Start() { fader = GetComponent <FadeControllerUI>(); if (fadeIn) { fader.AlphaToMin(); } else { fader.AlphaToMax(); } }
/// <summary> /// Awake this instance. /// </summary> void Awake() { fader = GetComponent <FadeControllerUI>(); }