public GuiObject(Rect r, DrawGuiElement d, string s, string t = "") { name = s; rect = r; text = t; children = new List <GuiObject>(); Draw += d; }
public void SetDrawAction(DrawGuiElement d) { Draw = d; }
public void SetDrawAction(DrawGuiElement d) {Draw = d;}
public GuiObject(Rect r, DrawGuiElement d, string s, string t = "") { name = s; rect = r; text = t; children = new List<GuiObject>(); Draw += d; }