Fields
Editor view
List<SDFSpriteReference>
and SDFSpriteReference[]
is a valid approach to reference sdf’s, however for mass referencing it is insufficient, since each entry need to be filled by hand.
Class definition
Field
SDFSpriteReferenceList
represents serialized list of sdf’s, with UX adjustments to make mass-referencing easier.
It adds Drag&Drop conversions, so you can drag a lot of things into the field, and it will figure out how to fill itself with entries.
Before drop
After drop
Before drop
After drop will be the same as before, but with sdf’s from DND_icons_SDF.sdfasset
Before drop
Here regular sprites, and sdf sprites is dragged.
After drop