Example #1
0
    /// <summary>
    /// Start this instance.
    /// </summary>
    void Start()
    {
        fader = GetComponent <FadeControllerUI>();

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