How to Autofill Inspector Array Automatically with Script Unity | #shorts

preview_player
Показать описание
This is the second short which I though might be helpful to some of you. Let me know what you think about these short videos, should I continue making them? Do you have any ideas for the upcoming short that might be helpful? Let me know down in the comments section. THANKS :D

This will help you be more productive with your team and be creative with your approach.

#youtubeshorts #shorts #AutofillArray
Рекомендации по теме
Комментарии
Автор

Right click on the object where the script is, select properties, so its inspector screen doesn't go away. Then select all the object you want to add to the array. (for example select the first one, hold shift, select the last one). Now drag the selection to your array in the previous opened screen. Easy peasy

Mendogology
Автор

It is easier with list not array you dont need to int to track numbers. Just list.add( child )

LION