private void CloneProperties(object aClone, Articy.Unity.ArticyObject aFirstClassParent) { Articy.Side_Effects.Features.DefaultBasicCharacterFeatureFeature newClone = ((Articy.Side_Effects.Features.DefaultBasicCharacterFeatureFeature)(aClone)); newClone.Age = Age; newClone.Species = Unresolved_Species; newClone.BornIn = Unresolved_BornIn; newClone.Sex = Sex; newClone.Occupation = Unresolved_Occupation; newClone.Accent = Unresolved_Accent; newClone.Personality = Unresolved_Personality; newClone.Appearance = Unresolved_Appearance; newClone.OwnerId = OwnerId; }
public object CloneObject(object aParent, Articy.Unity.ArticyObject aFirstClassParent) { Articy.Side_Effects.Features.DefaultBasicCharacterFeatureFeature clone = new Articy.Side_Effects.Features.DefaultBasicCharacterFeatureFeature(); CloneProperties(clone, aFirstClassParent); return clone; }