public override void AddChild(EditorGUIFlowElement child) { if (child != null) { row.Add(child); child.SetParent(this); Invalidate(); } }
public EditorGUIElement_Sideboard(EditorGUIFlowElement m, EditorGUIFlowElement a) { main_element = m; auxillary_element = a; main_element.SetParent(this); auxillary_element.SetParent(this); AddAttachment(new EditorGUIElementAttachment_Singular_Margin(0.0f)); }