Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using (Stream stream = OpenFileForWrite(folderName, fileName + fileExtension))
- {
- // Serialize and write the meshes to the file.
- byte[] data = SimpleMeshSerializer.Serialize(meshes);
- stream.Write(data, 0, data.Length);
- stream.Flush();
- }
- Debug.Log("Mesh file saved.");
Add Comment
Please, Sign In to add comment