I used the method CrossFadeAplha() of the Image class to achieve the wanted result. Is there any drawback to the way I did it? At first glance, it seems much simpler than what Ben showed in the video. I appreciate any input on this! Here is my code:
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Fader : MonoBehaviour {
public float fadeInTime;
private Image panel;
// Use this for initialization
void Start () {
panel = GetComponent<Image>();
panel.CrossFadeAlpha(0, fadeInTime, false);
}
}