Any way to same struct array to/into asset at runtime?

I’m making a brick puzzle game and I want to save my brick format with datatable or struct arrays. I currently use JSON to save formations, but converting JSON into a struct array in seconds when the game starts is unacceptable, so I wonder if I can make an in-game level editor that saves the brick formation directly into a DataTable or struct array, which solves the performance problem. Any one know how to save a struct array as a asset file (or as an attribute of an actor) at runtime? Or editor weight is acceptable.

1 Like