IEnumerator FadeAndLoad() { CoderBlackout.FadeOut(); yield return(new WaitForSeconds(1f)); Application.LoadLevel("MenuScene"); }
void Awake() { instance = this; Rect screen = new Rect(0, 0, Screen.width, Screen.height); guiTexture.pixelInset = screen; }