private void CloneProperties(object aClone, Articy.Unity.ArticyObject aFirstClassParent) { Articy.Test.Features.DefaultBasicCharacterFeatureFeature newClone = ((Articy.Test.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.Test.Features.DefaultBasicCharacterFeatureFeature clone = new Articy.Test.Features.DefaultBasicCharacterFeatureFeature(); CloneProperties(clone, aFirstClassParent); return(clone); }