Search Unity

Showing ScriptableObjects in dropdown menu in Unity

Discussion in 'Editor & General Support' started by a-t-hellboy, Jun 16, 2019.

  1. a-t-hellboy

    a-t-hellboy

    Joined:
    Dec 6, 2013
    Posts:
    180
    Question :
    How should I create
    PropertyAttribute
    and
    PropertyDrawer
    to show
    ScriptableObject
    s in dropdown menu in Inspector for both selecting between them and multi selecting ?

    Answer:
    I've published 2 repositories on Github which solve this problem. This one is for selecting between them in dropdown menu and this one is for multi selecting.

    ScriptableObjectDropdown.gif

    ScriptableObjectMultiSelectDropdown.gif
     
    cdr9042 likes this.