예제 #1
0
        /*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
            }));
        }
예제 #2
0
 public static UIToggle Toggle(this IUIObject obj, UIToggleProps props)
 {
     return(obj.Component <UIToggle>(props));
 }
예제 #3
0
 public static UIContainer Container(this IUIObject obj, UIContainerProps props)
 {
     return(obj.Component <UIContainer>(props));
 }
예제 #4
0
 public static UISprite Sprite(this IUIObject obj, UISpriteProps props)
 {
     return(obj.Component <UISprite>(props));
 }
예제 #5
0
 public static UIRadioGroup RadioGroup(this IUIObject obj, UIRadioGroupProps props)
 {
     return(obj.Component <UIRadioGroup>(props));
 }
예제 #6
0
 public static UILabel Label(this IUIObject obj, UILabelProps props)
 {
     return(obj.Component <UILabel>(props));
 }
예제 #7
0
 public static UIButton Button(this IUIObject obj, UIButtonProps props)
 {
     return(obj.Component <UIButton>(props));
 }
예제 #8
0
        /*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));
        }