public ScrollViewUxmlTraits() { m_ShowHorizontal = new UxmlBoolAttributeDescription { name = "showHorizontalScroller" }; m_ShowVertical = new UxmlBoolAttributeDescription { name = "showVerticalScroller" }; m_HorizontalLowValue = new UxmlFloatAttributeDescription { name = "horizontalLowValue" }; m_HorizontalHighValue = new UxmlFloatAttributeDescription { name = "horizontalHighValue" }; m_HorizontalPageSize = new UxmlFloatAttributeDescription { name = "horizontalPageSize", defaultValue = Slider.kDefaultPageSize }; m_HorizontalValue = new UxmlFloatAttributeDescription { name = "horizontalValue" }; m_VerticalLowValue = new UxmlFloatAttributeDescription { name = "verticalLowValue" }; m_VerticalHighValue = new UxmlFloatAttributeDescription { name = "verticalHighValue" }; m_VerticalPageSize = new UxmlFloatAttributeDescription { name = "verticalPageSize", defaultValue = Slider.kDefaultPageSize }; m_VerticalValue = new UxmlFloatAttributeDescription { name = "verticalValue" }; }
public ScrollerUxmlTraits() { m_LowValue = new UxmlFloatAttributeDescription { name = "lowValue" }; m_HighValue = new UxmlFloatAttributeDescription { name = "highValue" }; m_Direction = new UxmlEnumAttributeDescription <Slider.Direction> { name = "direction", defaultValue = Slider.Direction.Vertical }; m_Value = new UxmlFloatAttributeDescription { name = "value" }; }
public SliderUxmlTraits() { m_LowValue = new UxmlFloatAttributeDescription { name = "lowValue" }; m_HighValue = new UxmlFloatAttributeDescription { name = "highValue", defaultValue = kDefaultHighValue }; m_PageSize = new UxmlFloatAttributeDescription { name = "pageSize", defaultValue = kDefaultPageSize }; m_Direction = new UxmlEnumAttributeDescription <Slider.Direction> { name = "direction", defaultValue = Direction.Vertical }; m_Value = new UxmlFloatAttributeDescription { name = "value" }; }