i know that in normal cpp syntax, it is impossible to store different structs in one array, data will be cut-off.
but i do want to config different data but want all the data-structures to have one core data. like i have a function interface who will call the core-property as the function, which will use the data stored in the corresponding struct. well all the function can not use the same struct, they are obviously random.
i do not need the data-structure to be a struct, but i do need to configure different data in one array.
i can not use struct-pointers, because i need to config them in the editor.
i found that if u use createdefaultsubobject in constructor, the object will be listed in the editor, which can be configured very well.
but u must know the corresponding class in the constructor, i mean u can not configure the class u wanted, even more, all the item must have the same class, which is not what i wanted.
anyone know anyway to fulfill what i wanted?
thank u very much.