Documentation

Unity Engine

Unity Engine

MarkSceneDirty(Scene)

Mark the specified Scene as modified.
Read time 1 minuteLast updated 13 days ago

Definition

public static bool MarkSceneDirty(Scene scene)

Parameters

scene

The Scene to be marked as modified.

Returns

Type

Description

boolWhether the Scene was successfully marked as dirty.

Remarks

This function marks the specified Scene in the Editor as modified (having unsaved changes).