Version: 2022.3
言語: 日本語
Method group is Obsolete

Application.UnloadLevel

マニュアルに切り替える
Obsolete public static bool UnloadLevel (int index);
Obsolete public static bool UnloadLevel (string scenePath);

パラメーター

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.