Hi there
I'm still struggling to implement a complex save game system with Unity. I wonder how I can accomplish the follow scenario:
There are several independent obstacles in the game, that appear in different parts of the game. They all have their own logic and data fields and also their own FlatBuffers table schema.
There is also a central SaveData schema / table, which includes the position of the player and it's properties, which scenes are loaded etc.
The question is now, how can I store all the present obstacles within the SaveData table without defining all the different types in advance in the schema?
Is the design-pattern I'm trying to achieve probably not the best in this case?
I hope you guys can understand my problem :)
Thanks for any help.