/*public static UIVerticalSlider VerticalSlider(this IUIObject obj, UISliderSettings settings) * { * return obj.Component<UIVerticalSlider>(settings); * } * * public static UIHorizontalSlider HorizontalSlider(this IUIObject obj, UISliderSettings settings) * { * return obj.Component<UIHorizontalSlider>(settings); * }*/ public static UISprite Sprite(this IUIObject obj, Sprite sprite) { return(obj.Component <UISprite>(new UISpriteProps { Sprite = sprite })); }
public static UIToggle Toggle(this IUIObject obj, UIToggleProps props) { return(obj.Component <UIToggle>(props)); }
public static UIContainer Container(this IUIObject obj, UIContainerProps props) { return(obj.Component <UIContainer>(props)); }
public static UISprite Sprite(this IUIObject obj, UISpriteProps props) { return(obj.Component <UISprite>(props)); }
public static UIRadioGroup RadioGroup(this IUIObject obj, UIRadioGroupProps props) { return(obj.Component <UIRadioGroup>(props)); }
public static UILabel Label(this IUIObject obj, UILabelProps props) { return(obj.Component <UILabel>(props)); }
public static UIButton Button(this IUIObject obj, UIButtonProps props) { return(obj.Component <UIButton>(props)); }
/*public static UITextBox TextBox(this IUIObject obj, UITextBoxSettings settings) * { * return obj.Component<UITextBox>(settings); * }*/ public static UIMesh Mesh(this IUIObject obj, UIMeshProps props) { return(obj.Component <UIMesh>(props)); }