Version: 2023.2
public static bool ClosePreviewScene (SceneManagement.Scene scene);

参数

scene 要关闭的预览场景。

返回

bool 如果场景已成功关闭,则为 true。

描述

Closes a preview Scene created by NewPreviewScene or OpenPreviewScene.