What is the best way to store data in Unity3D?


I have been working on a project where I generate a procedural terrain divided by meshes , now my idea is to save these meshes in a folder and then load only the ones I need.

I've seen that I can do it with FileStream but I do not know if this would be the best way.

asked by Marck Arck 17.01.2016 в 01:29

1 answer


Did not you analyze using AssetDatabase.SaveAssets() ?

[Editor scripting] How to save a script generated mesh as an asset / FBX?

With this you continue on the route you indicate in CreateAsset()

You can check here:



answered by 17.01.2016 в 01:40