Version: 2022.1
言語: 日本語

TerrainData.SetTerrainLayersRegisterUndo

マニュアルに切り替える
public void SetTerrainLayersRegisterUndo (TerrainLayer[] terrainLayers, string undoName);

パラメーター

terrainLayers The Terrain Layer assets to set.
undoName The name of the Editor's undo action.

説明

This function sets the terrainLayers property, and in addition, registers the action to the Editor's undo stack.

This function is only available in the Editor.