Skip to content

Instantly share code, notes, and snippets.

Arthur Cousseau Eldoir

  • Paris, France
Block or report user

Report or block Eldoir

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Eldoir / TerrainDataCloner.cs
Last active Apr 18, 2018 — forked from zsoi/TerrainDataCloner.cs
Helper to deep-copy a TerrainData object in Unity3D
View TerrainDataCloner.cs
using UnityEngine;
/// <summary>
/// Provides means to deep-copy a TerrainData object because Unitys' built-in "Instantiate" method
/// will miss some things and the resulting copy still shares data with the original.
/// </summary>
public class TerrainDataCloner
/// <summary>
/// Creates a real deep-copy of a TerrainData
You can’t perform that action at this time.