I would like to create a database consisting of connected nodes. Each node will contain an element (a character) and a list of other nodes that it’s connected to.
I do not want to generate this list everytime the game is played, I want it stored as part of the game’s files. Also the database will need to be quite large so if I were to use a scriptable object for each node then I would want to somehow generate these nodes in code rather than make each one individually.
How do you create and modify scriptable objects as assets as opposed to creating instances on every play?
Would there be a better way of doing this such as storing an array in a text file?