Q:

How can I add a batch of sprites to a list in Unity's inspector?

I have a C# script with a public property:
List<Sprite> someSprites;

I would like to add 20 sprites to it, from the inspector window. However, it seems like the only way to do so is to drag one by one. Is there a simpler way to batch fill lists in Unity?

A:

There are two ways to assign multiple objects:

Editor: Click on the object you want to assign items to. In the top-right of the inspector window, click on the lock icon. Select the objects you want to assign and drag them into the field. Once done un-click the lock icon.
Code: Assign it using someSprites = Resources.LoadAll<Sprite>("Location"); inside Awake().

