When you have an Array with default values that can be changed in the editor you have this interface
In this case the array is of a base struct called “Item” and clicking “+” will add another “Item” to the array.
But if I want to add an instance of an Item child class that has more variables, say “Weapon” or “Consumable”, is there any way to do that from here in the editor?
I’m aware that this can be done at runtime or in code but since this is for a DataAsset class it would defeat the entire point if the only way to add new items would be to hardcode them. I haven’t seen any way to do this so far and it’s possible the only way to do this would be to create a custom editor window but before I attempt that I’d like to know if there are other options.