protected TerrainChangedBaseAction(SerializationInfo info, StreamingContext context) : base(info, context) { _name = info.GetString("_name"); Terrain = (ITerrainCallback)info.GetValue("Terrain", typeof(ITerrainCallback)); if (SerializationHelper.HasElement(info, "CustomSerializationBlock")) CustomSerializationBlock = (byte[])info.GetValue("CustomSerializationBlock", typeof(byte[])); }
public TerrainChangedBaseAction(ITerrainCallback terrain) { Terrain = terrain; }