Day: July 28, 2015

  • Screen Fader in Unity

    Basically this is big black box to fade in and out over everything else to transition between screens. First I made a UI Image that is the same width as the canvas and then stretched it’s height to fill the rest of the screen like so: gameObject.transform.localScale = new Vector2 (1,(float)Screen.height/(float)Screen.width); I add a “Canvas Group” component to the…