|
Post by karcfa on Mar 26, 2022 19:05:45 GMT
I need to store either prefabs or addressables
Im wondering if prefabs can be stored in other way than eg serializing them? as that would take too much size.
Addressables arent bad choice (would simply store string address) but maybe is there way to serialize prefab references?
|
|
|
Post by echo17 on Mar 27, 2022 12:13:55 GMT
I haven't tried to store either of these, so I'm not sure. The types that SQLite (the basis of SimpleSQL) are: TEXT, FLOAT, INTEGER, BLOB. Blob is just a byte array. If you can get it into one of these formats, you can store it in a SQLite database. Sounds like Blob would be your best bet.
|
|