Search Unity

Question Showing alternative texture picker instead of default object field

Discussion in 'UI Toolkit' started by Hertzole, Jun 10, 2020.

  1. Hertzole

    Hertzole

    Joined:
    Jul 27, 2013
    Posts:
    422
    Hi

    I'm trying to make a custom editor with UI Toolkit and I want to use the alternative texture/sprite picker for my object field.
    By alternative I mean this:

    I can't find a way to get UI Toolkit to show it like that. It always shows it as the normal object picker. Is there a way to change it?
     
  2. sebastiend-unity

    sebastiend-unity

    Unity Technologies

    Joined:
    Nov 9, 2015
    Posts:
    184
    Hi RealMTG,

    UI Toolkit does not support ObjectFieldVisualType for the moment; the only mode that is support is the default one (Icon and Text).

    Sebastien
     
  3. Hertzole

    Hertzole

    Joined:
    Jul 27, 2013
    Posts:
    422
    Aww, bummer!