Example #1
0
 public void AddAttachment(EditorSceneElementAttachment to_add)
 {
     if (to_add != null)
     {
         if (to_add.PrepareElementForAttachment(this))
         {
             if (HandleAttachment(ref to_add))
                 attachments.Add(to_add);
             else
                 surpressed_attachments.Add(to_add);
         }
     }
 }