There is a good method for loading data from a disk Resources.Load() Is there a method for storing of an information on the disk like Resources.Save()? Thank you.
In edtior-mode you can use ScriptableObject like: Code (CSharp): public class InventoryItemList : ScriptableObject { public List<InventoryItem> itemList; } /////////////////////////////////////////////////////////////////////////////// InventoryItemList asset = ScriptableObject.CreateInstance<InventoryItemList>(); AssetDatabase.CreateAsset(asset,"Assets/InventoryItemList.asset"); AssetDatabase.SaveAssets(); or Code (CSharp): Mesh yourMesh = <get any mesh class>; AssetDatabase.CreateAsset(yourMesh,"Assets/yourmesh.asset"); AssetDatabase.SaveAssets(); but in gamemode i think your only option is playerprefs or just FileStream/StreamWriter functions from c#.