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