TerrainData.SetTerrainLayersRegisterUndo

매뉴얼로 전환
public void SetTerrainLayersRegisterUndo (TerrainLayer[] terrainLayers, string undoName);

파라미터

terrainLayersThe Terrain Layer assets to set.
undoNameThe 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.