Esempio n. 1
0
 private void CloneProperties(object aClone, Articy.Unity.ArticyObject aFirstClassParent)
 {
     Articy.Project_Of_Death.Templates.template_conscienceTemplate newClone = ((Articy.Project_Of_Death.Templates.template_conscienceTemplate)(aClone));
     if ((dialogue_appearance_check != null))
     {
         newClone.dialogue_appearance_check = ((Articy.Project_Of_Death.Features.dialogue_appearance_checkFeature)(dialogue_appearance_check.CloneObject(newClone, aFirstClassParent)));
     }
     newClone.OwnerId = OwnerId;
 }
Esempio n. 2
0
 public object CloneObject(object aParent, Articy.Unity.ArticyObject aFirstClassParent)
 {
     Articy.Project_Of_Death.Templates.template_conscienceTemplate clone = new Articy.Project_Of_Death.Templates.template_conscienceTemplate();
     CloneProperties(clone, aFirstClassParent);
     return(clone);
 }