Hello,
I want to save meshes created by users of my app (at runtime, in game) that are imported from .OBJ files. I have .OBJ importer for the meshes and the meshes are imported, but when users close the app, the meshes are lost and they must be imported to the app again. So my question is:
Is it possible to save such generated at runtime meshes in game (NOT IN UNITY EDITOR!)?
I know that
AssetDatabase.CreateAsset(meshToSave, path);
AssetDatabase.SaveAssets();
works in Editor only. What to do in game?
↧