Exemplo n.º 1
0
        public static AsyncOperation LoadSceneAsync(string sceneName, LoadSceneMode mode = LoadSceneMode.Single, SceneParam sceneParam = null)
        {
            _sceneParam = sceneParam;

            return(SceneManager.LoadSceneAsync(sceneName, mode));
        }
Exemplo n.º 2
0
        public static void LoadScene(string sceneName, LoadSceneMode mode = LoadSceneMode.Single, SceneParam sceneParam = null)
        {
            _sceneParam = sceneParam;

            SceneManager.LoadScene(sceneName, mode);
        }