Search Unity

Assign an array of AssetReference in inspector

Discussion in 'Addressables' started by mnarimani, Jul 22, 2019.

  1. mnarimani

    mnarimani

    Joined:
    Mar 27, 2017
    Posts:
    210
    I have this field:
    [SerializeField] private AssetReference[] objs;


    If the field was a GameObject array, it was possible to lock the inspector, select all prefabs and drag and drop them into the field.
    But when I use AssetReference, I cannot drag and drop multiple prefabs to the array even though all of them are addressables.
     
  2. AndersonDev

    AndersonDev

    Joined:
    Dec 13, 2015
    Posts:
    81
    Vote for this. Also will be very nice to have object selected by clicking on reference (if it exists in project).