Skip to content

Instantly share code, notes, and snippets.

@Fallenleader
Fallenleader / FadeInOut.cs
Last active January 30, 2016 08:30 — forked from NovaSurfer/FadeInOut.cs
Unity3D screen fading scripts (using new UI)
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using UnityEngine.SceneManagement.SceneManager;
public class ScreenFader : MonoBehaviour
{
public Image FadeImg;
public float fadeSpeed = 1.5f;
public bool sceneStarting = true;