index | Index of the scene in the PlayerSettings to unload. |
scenePath | Name of the scene to Unload. |
bool Return true if the scene is unloaded.
Unloads all GameObject associated with the given scene. Note that assets are currently not unloaded, in order to free up asset memory call Resources.UnloadAllUnusedAssets.