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" }; }