Struct inside an array 'display name' in editor?
Is there a way to predefine a display name for a struct struct in editor before its expanded?
For example have an array of struct which the struct itself has vars inside like :
Right now if you add a new struct to the array in editor it looks like this:
So its pretty hard to see what's inside without expanding the thing by pressing the arrow at the side of '0'. Is it possible to change the display name somehow so instead of 2 members it would show some value so you could quickly see what's inside? Something like this:
Similar to how you can do .ToString on classes in some programming languages for ease of debugging.
After focusing more on TArrays in searching I came up with this, seems to do the job for most things, might still need an extra step for USTRUCT but its okay for array of objects :)
EDIT: This actually fully works on structs too. Wonderful.
Follow this question
Once you sign in you will be able to subscribe for any updates here