예제 #1
0
        public static AsyncOperation LoadSceneAsync(string sceneName, LoadSceneMode mode = LoadSceneMode.Single, SceneParam sceneParam = null)
        {
            _sceneParam = sceneParam;

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

            SceneManager.LoadScene(sceneName, mode);
        }