예제 #1
0
 public GuiObject(Rect r, DrawGuiElement d, string s, string t = "")
 {
     name     = s;
     rect     = r;
     text     = t;
     children = new List <GuiObject>();
     Draw    += d;
 }
예제 #2
0
 public void SetDrawAction(DrawGuiElement d)
 {
     Draw = d;
 }
예제 #3
0
	public void SetDrawAction(DrawGuiElement d) {Draw = d;}
예제 #4
0
	public GuiObject(Rect r, DrawGuiElement d, string s, string t = "") {
		name = s;
		rect = r;
		text = t;
		children = new List<GuiObject>();			
		Draw += d;
	}