public static void CreateTerrain() { var terrain = CreateEmptyTerrain(); var material = GetMaterial(); var configuration = ContentUtility.LoadOrCreateScriptableObject <TerrainConfiguration>(terrainConfigurationName, true); terrain.material = material; terrain.terrainConfiguration = configuration; ProcessingUtility.StartProcessing(terrain.Build()); }
public static BrushProps CreateBrushProps() { BrushProps brushProperties = ContentUtility.LoadOrCreateScriptableObject <BrushProps>(brushAssetName, true); return(brushProperties); }