Is there a way to save a procedurally-generated mesh on the client machine?

I am generating a skinned mesh from a series of text files, some of which are part of my project and some of which the client downloads and which are then saved to the application directory (on the iPhone, to be precise).

I would like to be able to somehow store the complete mesh on the phone to be able to load it more quickly later (in fact, if I could in any way make a prefab on the client and save it that would be ideal). Is there any mechanism for doing something like this that does not require the mesh to be packaged up in an assetbundle before being downloaded?


you can use System.IO to create files and do what you want but you should serialize the mesh class and write it to a file and read it back yourself.