UpdateTerrainDataUndo(TerrainData, string)
Updates the undo stack with a terrain operation.
阅读时间1 分钟最后更新于 1 个月前
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.