Search Unity

ObjectField Type

Discussion in 'UI Toolkit' started by sniffle63, May 2, 2020.

  1. sniffle63

    sniffle63

    Joined:
    Aug 31, 2013
    Posts:
    365
    Iv seen post saying i can set the object field type in UXML and i tried, but it doesnt work. Curious if im doing something wrong, or if this feature was removed/is broken or what exactly, it seems pretty strait forward, so im not sure what i could be doing wrong.

    This just displays <No Type> on my window.
    upload_2020-5-2_15-46-29.png
    upload_2020-5-2_15-48-45.png


    But if i do this,
    upload_2020-5-2_15-47-21.png
    It works fine.

    -------------------------

    While I'm here i might as well ask if this will this be doable from the UiBuilder at any point?