Search Unity

Feedback FieldMouseDragger improvement

Discussion in 'UI Toolkit' started by vertxxyz, Jan 17, 2022.

  1. vertxxyz

    vertxxyz

    Joined:
    Oct 29, 2014
    Posts:
    109
    Can the field dragging implementation use total mouse delta, instead of a per-frame delta? That way you could round the field and still reasonably use the dragger.

    It's also another struggle to extend, as ProcessPointerCapture, BaseVisualElementPanel, uiElementsBridge, all internal. I'm going to get it done though...
     
  2. vertxxyz

    vertxxyz

    Joined:
    Oct 29, 2014
    Posts:
    109
    upload_2022-1-17_20-19-14.png


    I jest, but exposing a IReadOnlyList fields property for BaseCompositeField<TValueType, TField, TFieldValue> doesn't seem like it'd be something you'd expect to deprecate does it?
    I suppose I'll just Q<> my way to victory.