mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Merged master
This commit is contained in:
commit
25c0db52ee
@ -21,8 +21,9 @@ void GenerateTerrain()
|
||||
Debug.LogError("No Terrain component found on this GameObject.");
|
||||
return;
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
Undo.RecordObject(terrain, "Generate Perlin Noise Terrain");
|
||||
#endif
|
||||
terrain.terrainData = GenerateTerrainData(terrain.terrainData);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user