Esempio n. 1
0
 private void SetParent(VisualElement value)
 {
     m_Owner.m_PhysicalParent = value;
     m_Owner.m_LogicalParent  = value;
     if (value != null)
     {
         m_Owner.ChangePanel(m_Owner.m_PhysicalParent.elementPanel);
         m_Owner.PropagateChangesToParents();
     }
     else
     {
         m_Owner.ChangePanel(null);
     }
 }