Gonzo.Elements.UIElement.UIElement C# (CSharp) Method

UIElement() public method

Constructs a UIElement from a Screen instance and an optional UIElement that acts as a parent.
public UIElement ( UIScreen Screen, UIElement Parent = null, string Path = "" ) : System
Screen UIScreen A Screen instance.
Parent UIElement (Optional) UIElement that acts as a parent.
Path string (Optional) Path to a UI script that will create this UI element.
return System
        public UIElement(UIScreen Screen, UIElement Parent = null, string Path = "")
        {
            m_Screen = Screen;

            if (Parent != null)
                m_Parent = Parent;
        }

Same methods

UIElement::UIElement ( string Name, Vector2 Position, Vector2 Size, UIScreen Screen, UIElement Parent = null ) : System