private void ShallowClone(EditorEntity destination) { base.ShallowClone(destination); destination.Models = new List<Model>(Models); /*for (int i = 0; i < _models.Count; i++) { destination._models.Add(_models[i].DeepClone()); }*/ }
public override IDeepClone ShallowClone() { EditorEntity clone = new EditorEntity(Scene); ShallowClone(clone); return clone; }