Example #1
0
        public override void AddChild(EditorGUIFlowElement child)
        {
            if (child != null)
            {
                row.Add(child);

                child.SetParent(this);
                Invalidate();
            }
        }
Example #2
0
        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));
        }