Version: 5.3
public static bool SaveScene (SceneManagement.Scene scene, string dstScenePath= "", bool saveAsCopy= false);

파라미터

scene The Scene to be saved.
dstScenePath The file path to save the Scene to. If the path is not empty, the current open Scene will be overwritten, or if it as not yet been saved at all, a save dialog is shown.
saveAsCopy If set to true, the Scene will be saved without changing the current Scene and without clearing the unsaved changes marker.

반환

bool True if the save succeeded, otherwise false.

설명

Save a Scene.