void Awake () { // Set the texture so that it is the the size of the screen and covers it. screenFader.pixelInset = new Rect(0f, 0f, Screen.width, Screen.height); }