Version: 1.4
LanguageEnglish
  • C#

TerrainPaintUtilityEditor.UpdateTerrainDataUndo

Declaration

public static void UpdateTerrainDataUndo(TerrainData terrainData, string undoName);

Parameters

terrainData Terrain data object.
undoName The name of the undo operation.

Description

Updates the undo stack with a terrain operation.

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.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答