Documentation

Unity Engine


Unity Engine


SaveScenes(Scene[])

Save a list of Scenes.
Read time 1 minuteLast updated 9 days ago

Definition

public static bool SaveScenes(Scene[] scenes)

Parameters

scenes

List of Scenes that should be saved.

Returns

Type

Description

boolTrue if the save succeeded. Otherwise false.

Remarks

If an unsaved Scene is part of the list of Scenes, a save dialog appears requesting the location the Scene should be saved in.