Add support for any reflect structure, even one that contains asset handles, as long as those handles reference a file with a known path. #122
Labels
editor core
Core functional of editor
Milestone
Add a new method for registering components
app.editor_auto_struct()
which registers a component, allows to visualize it in the inspector, but saves not T, but AutoStruct, which contains the same T fields as DynamicStruct, but converts all handle fields to the path to the asset file. And when loading prefab AutoStruct should be converted to T by inserting one field at a time. And load all assemblies by saved paths from AutoStruct
This will allow to add support for such components as StandartMaterial.
The text was updated successfully, but these errors were encountered: