MarkSceneDirty(Scene)
Mark the specified Scene as modified.
Read time 1 minuteLast updated 18 days ago
Definition
- Type: Method
- Namespace: UnityEditor.SceneManagement
- Assembly: UnityEditor
public static bool MarkSceneDirty(Scene scene)
Parameters
The Scene to be marked as modified.
Returns
Type | Description |
|---|---|
| bool | Whether the Scene was successfully marked as dirty. |
Remarks
This function marks the specified Scene in the Editor as modified (having unsaved changes).