Unity Tutorial - Create a Custom Inspector with a Reorderable List: Part 3

preview_player
Показать описание
Hey nerds, welcome to the last video of my custom inspector series! In this episode, we add functionality to the reorderable list add and remove buttons. The add button creates a drop down menu capable of adding components to our gameobject and directly into the list. The remove button functions as normal. We also give the list a title.

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

This was incredible! Exactly what I was looking for to create an editor for my Interaction system with Conditions/Reactions. But when you remove it from the reorderablelist, why would you want the script to still exist on the gameobject? Also I was considering keeping my conditions and reactions as separate gameobjects, to be able to copy a condition or reaction to another gameobject, but I guess I could do this by just copying the script the regular way? Thanks again, looking forward to try this out. :)

bluegoodev
Автор

Thanks for those informative tutorials I would like to see how would you go about implementing nested Reorderable Lists using the same Reorderable class from UnityEditor.

yaseralosh