project: The directory path of the Unity project to create terrain inside.
heightmap: The file path for the raster to transform into terrain.
overlay: Optionally, a file path for an image overlay to layer on top of the terrain surface. Leave as NULL for no overlay.
side_length: The side length, in map units, for the terrain tiles. Must be equal to 2^x + 1, for any x between 5 and 12.
scene_name: The name of the Unity scene to create the terrain in.
action: Boolean: Execute the unifir "script" and create the Unity project? If FALSE, returns a non-executed script.
unity: The location of the Unity executable to create projects with. By default, will be auto-detected by unifir::find_unity
Returns
An object of class "unifir_script", containing either an executed unifir script (if action = TRUE) or a non-executed script object (if action = FALSE).