Automate Filling of Default Values in an Empty Array Inside a Struct?

Thanks for the idea but the problem is that in my project, I have to fill the default values of an array inside a struct of name “example_0 to example_n”. Like I’m looking for an automated way to do it instead of doing a manual fill of default values…

“a struct”
—“an array” → set dafault value of arrays
—example_0.sprite
—example_1.sprite
—…
—…
—…
—example_n.sprite

You also mentioned it can be done in c++? Would that mean there is an automated way for C++ to fill the default values in an array within a struct?

Many thanks!