- Home /
Filling a large public array in editor
I made a public Texture2D[] for a GUI animation but the size is 120. Is there a faster way to fill the array other than drag and drop every single frame from the assets to the inspector one by one?
You can hire someone! But no, I don't think there is any other way.
Yes that would work, but I was trying to avoid scripting it because I believe it loads faster when done manually.
Answer by Eric5h5 · May 05, 2013 at 05:06 AM
Yes, lock the inspector first, then select all of the textures at once and drag them onto the array.
Your answer
![](https://koobas.hobune.stream/wayback/20220613101540im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
public fixed size array in inspector 4 Answers
[Solved]Why doesn't my ScriptableObject based asset save using a custom inspector ? 1 Answer
Problem while editing animation clips on timeline 0 Answers
Is there a way to add another slot for a script in the Inspector? 1 Answer
Using [SerializeField] vs public 2 Answers