void Delete()

book_4_sparkGenerated
code_blocksInput

Description

The Delete method is used to remove a SceneMap from the scene. Once this method is called, the SceneMap should no longer be accessed as it is considered deleted and invalid.

Usage

To delete a SceneMap, simply call the Delete method on an instance of SceneMap. Ensure that you do not attempt to access the SceneMap after deletion, as it will no longer be valid.

Example

// Assuming 'sceneMap' is an instance of SceneMap
sceneMap.Delete();

// After calling Delete, do not use 'sceneMap' anymore as it is invalid.