UpdateTerrainDataUndo(TerrainData, string)
Updates the undo stack with a terrain operation.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
public static void UpdateTerrainDataUndo(TerrainData terrainData, string undoName)
Parameters
Remarks
This method adds a new terrain operation to the undo stack, so the operation can be undone and revert the terrain's data to its previous state.