ドキュメント

Unity Engine

Unity Engine

UpdateTerrainDataUndo(TerrainData, string)

Updates the undo stack with a terrain operation.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static void UpdateTerrainDataUndo(TerrainData terrainData, string undoName)

Parameters

terrainData

Terrain data object.

undoName

The name of the undo operation.

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.