Method UnloadScene
UnloadScene(SceneInstance, bool)
Release scene
선언
[Obsolete]
public static AsyncOperationHandle<SceneInstance> UnloadScene(SceneInstance scene, bool autoReleaseHandle = true)
파라미터
타입 | 이름 | 설명 |
---|---|---|
SceneInstance | scene | The SceneInstance to release. |
bool | autoReleaseHandle | If true, the handle will be released automatically when complete. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<SceneInstance> | The operation handle for the request. |
참고
UnloadScene(AsyncOperationHandle, bool)
Release scene
선언
[Obsolete]
public static AsyncOperationHandle<SceneInstance> UnloadScene(AsyncOperationHandle handle, bool autoReleaseHandle = true)
파라미터
타입 | 이름 | 설명 |
---|---|---|
AsyncOperationHandle | handle | The handle returned by LoadSceneAsync for the scene to release. |
bool | autoReleaseHandle | If true, the handle will be released automatically when complete. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<SceneInstance> | The operation handle for the request. |
참고
UnloadScene(AsyncOperationHandle<SceneInstance>, bool)
Release scene
선언
[Obsolete]
public static AsyncOperationHandle<SceneInstance> UnloadScene(AsyncOperationHandle<SceneInstance> handle, bool autoReleaseHandle = true)
파라미터
타입 | 이름 | 설명 |
---|---|---|
AsyncOperationHandle<SceneInstance> | handle | The handle returned by LoadSceneAsync for the scene to release. |
bool | autoReleaseHandle | If true, the handle will be released automatically when complete. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<SceneInstance> | The operation handle for the request. |
참고
UnloadScene(AsyncOperationHandle<SceneInstance>, UnloadSceneOptions, bool)
Release scene
선언
[Obsolete]
public static AsyncOperationHandle<SceneInstance> UnloadScene(AsyncOperationHandle<SceneInstance> handle, UnloadSceneOptions unloadOptions, bool autoReleaseHandle = true)
파라미터
타입 | 이름 | 설명 |
---|---|---|
AsyncOperationHandle<SceneInstance> | handle | The handle returned by LoadSceneAsync for the scene to release. |
UnloadSceneOptions | unloadOptions | Specify behavior for unloading embedded scene objecs |
bool | autoReleaseHandle | If true, the handle will be released automatically when complete. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<SceneInstance> | The operation handle for the request. |