Пример #1
0
        void CreateTooltipObject()
        {
            TooltipObject = Utilites.CreateWidgetFromAsset("Tooltip");
            TooltipObject.transform.SetParent(transform);

            var tooltipRectTransform = TooltipObject.transform as RectTransform;

            tooltipRectTransform.anchorMin = new Vector2(1, 1);
            tooltipRectTransform.anchorMax = new Vector2(1, 1);
            tooltipRectTransform.pivot     = new Vector2(1, 0);

            tooltipRectTransform.anchoredPosition = new Vector2(0, 0);
        }
Пример #2
0
        void CreateTooltipObject()
        {
            TooltipObject = Utilites.CreateWidgetFromAsset("Tooltip");
            if (unSetParent)
            {
                TooltipObject.transform.SetParent(transform);
            }

            var tooltipRectTransform = TooltipObject.GetComponent <RectTransform>();

            tooltipRectTransform.anchorMin = new Vector2(1, 1);
            tooltipRectTransform.anchorMax = new Vector2(1, 1);
            tooltipRectTransform.pivot     = new Vector2(1, 0);

            tooltipRectTransform.anchoredPosition = new Vector2(0, 0);
        }
Пример #3
0
 static void CreateObject()
 {
     Utilites.CreateWidgetFromAsset("Tabs");
 }
Пример #4
0
 static void CreateObject()
 {
     Utilites.CreateWidgetFromAsset("ComboboxIcons");
 }
Пример #5
0
 static void CreateObject()
 {
     Utilites.CreateWidgetFromAsset("SpinnerFloat");
 }
Пример #6
0
 static void CreateListViewPaginator()
 {
     Utilites.CreateWidgetFromAsset("ListViewPaginator");
 }
Пример #7
0
 static void CreateListViewHeight()
 {
     Utilites.CreateWidgetFromAsset("ListViewHeight");
 }
Пример #8
0
 static void CreateComboboxIconsMultiselect()
 {
     Utilites.CreateWidgetFromAsset("ComboboxIconsMultiselect");
 }
Пример #9
0
 static void CreateRangeSliderFloatVertical()
 {
     Utilites.CreateWidgetFromAsset("RangeSliderFloatVertical");
 }
Пример #10
0
 static void CreateObject()
 {
     Utilites.CreateWidgetFromAsset("RangeSliderVertical");
 }
Пример #11
0
 static void CreateRangeSlider()
 {
     Utilites.CreateWidgetFromAsset("RangeSlider");
 }
Пример #12
0
 static void CreateButtonBig()
 {
     Utilites.CreateWidgetFromAsset("ButtonBig");
 }
Пример #13
0
 static void CreateProgressbar()
 {
     Utilites.CreateWidgetFromAsset("Progressbar");
 }
Пример #14
0
 static void CreatePopup()
 {
     Utilites.CreateWidgetFromAsset("Popup");
 }
Пример #15
0
 public static void CreateTabsLeft()
 {
     Utilites.CreateWidgetFromAsset("TabsLeft");
 }
Пример #16
0
 static void CreateColorPicker()
 {
     Utilites.CreateWidgetFromAsset("ColorPicker");
 }
Пример #17
0
 static void CreateCombobox()
 {
     Utilites.CreateWidgetFromAsset("Combobox");
 }
Пример #18
0
 static void CreateScrollRectNumericPaginator()
 {
     Utilites.CreateWidgetFromAsset("ScrollRectNumericPaginator");
 }
Пример #19
0
 static void CreateDialog()
 {
     Utilites.CreateWidgetFromAsset("DialogTemplate");
 }
Пример #20
0
 static void CreateSpinner()
 {
     Utilites.CreateWidgetFromAsset("Spinner");
 }
Пример #21
0
 static void CreateListViewIcons()
 {
     Utilites.CreateWidgetFromAsset("ListViewIcons");
 }
Пример #22
0
 static void CreateSwitch()
 {
     Utilites.CreateWidgetFromAsset("Switch");
 }
Пример #23
0
 static void CreateNotify()
 {
     Utilites.CreateWidgetFromAsset("NotifyTemplate");
 }
Пример #24
0
 static void CreateButtonSmall()
 {
     Utilites.CreateWidgetFromAsset("ButtonSmall");
 }
Пример #25
0
 static void CreateObject()
 {
     Utilites.CreateWidgetFromAsset("CenteredSliderVertical");
 }
Пример #26
0
 static void CreateTabsIcons()
 {
     Utilites.CreateWidgetFromAsset("TabsIcons");
 }
Пример #27
0
 static void CreateObject()
 {
     Utilites.CreateWidgetFromAsset("Accordion");
 }
Пример #28
0
 static void CreateTreeView()
 {
     Utilites.CreateWidgetFromAsset("TreeView");
 }
Пример #29
0
 static void CreateObject()
 {
     Utilites.CreateWidgetFromAsset("ListViewGameObjects");
 }
Пример #30
0
 static void CreateCenteredSlider()
 {
     Utilites.CreateWidgetFromAsset("CenteredSlider");
 }