internal static void LoadNext() { LoadScreen ls = Instantiate(Resources.Load("Prefabs/LoadScreen") as GameObject, Vector3.zero, Quaternion.identity).GetComponent <LoadScreen>(); ls.LoadScene(SceneManager.GetActiveScene().buildIndex + 1); }