public static void Create() { ScreenFader controllerPrefab = Resources.Load <ScreenFader> ("ScreenFader"); s_Instance = Instantiate(controllerPrefab); }
public void TransitionTimed(float time) { StartCoroutine(ScreenFader.FadeSceneOut(ScreenFader.FadeType.End)); Invoke("Transition", time); }