Dungeon Architect
17.0.0
|
Before building a dungeon, we find the bounds of the dungeon and save the heightmap data within that bounds before we modify the landscape This way, the next rebuild of dungeon with another layout would first restore this data (thereby removing the older layout that was baked in the landscape) and apply the new layout on the landscape More...
Public Member Functions | |
void | SaveLandscapeData (Terrain terrain, Rect worldBounds) |
void | RestoreLandscapeData (Terrain terrain, Rect worldBounds) |
Before building a dungeon, we find the bounds of the dungeon and save the heightmap data within that bounds before we modify the landscape This way, the next rebuild of dungeon with another layout would first restore this data (thereby removing the older layout that was baked in the landscape) and apply the new layout on the landscape
Definition at line 33 of file DungeonLandscapeRestorationCache.cs.