UnityEngine.SceneManagement.SceneManager.UnloadSceneNameIndexInternal C# (CSharp) Method

UnloadSceneNameIndexInternal() private method

private UnloadSceneNameIndexInternal ( string sceneName, int sceneBuildIndex, bool immediately, bool &outSuccess ) : AsyncOperation
sceneName string
sceneBuildIndex int
immediately bool
outSuccess bool
return UnityEngine.AsyncOperation
        private static extern AsyncOperation UnloadSceneNameIndexInternal(string sceneName, int sceneBuildIndex, bool immediately, out bool outSuccess);

Usage Example

Exemplo n.º 1
0
        public static bool UnloadScene(string sceneName)
        {
            bool result;

            SceneManager.UnloadSceneNameIndexInternal(sceneName, -1, true, UnloadSceneOptions.None, out result);
            return(result);
        }
All Usage Examples Of UnityEngine.SceneManagement.SceneManager::UnloadSceneNameIndexInternal