public static void Create()
        {
            ScreenFader controllerPrefab = Resources.Load <ScreenFader> ("ScreenFader");

            s_Instance = Instantiate(controllerPrefab);
        }
Example #2
0
 public void TransitionTimed(float time)
 {
     StartCoroutine(ScreenFader.FadeSceneOut(ScreenFader.FadeType.End));
     Invoke("Transition", time);
 }