public override void Register()
 {
     this.terrainTypeData = (byte[])TerrainTypeWindow.GetUndoData().Clone();
 }
 public override void DoRedo()
 {
     TerrainTypeWindow.SetUndoData((byte[])terrainTypeData.Clone());
 }