Example #1
0
 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());
     }*/
 }
Example #2
0
 public override IDeepClone ShallowClone()
 {
     EditorEntity clone = new EditorEntity(Scene);
     ShallowClone(clone);
     return clone;
 }