Inventory Engine
v3.8
|
This component, on Awake or on demand, will force a SaveLoadMethod on the MMSaveLoadManager, changing the way it saves data to file. More...
Inherits MonoBehaviour.
Public Member Functions | |
virtual void | SetSaveLoadMethod () |
Creates a new MMSaveLoadManagerMethod and passes it to the MMSaveLoadManager More... | |
Public Attributes | |
MMSaveLoadManagerMethods | SaveLoadMethod = MMSaveLoadManagerMethods.Binary |
the method to use to save to file More... | |
string | EncryptionKey = "ThisIsTheKey" |
the key to use to encrypt the file (if using an encryption method) More... | |
Protected Member Functions | |
virtual void | Awake () |
On Awake, we set the MMSaveLoadManager's method to the chosen one More... | |
Protected Attributes | |
IMMSaveLoadManagerMethod | _saveLoadManagerMethod |
This component, on Awake or on demand, will force a SaveLoadMethod on the MMSaveLoadManager, changing the way it saves data to file.
This will impact all classes that use the MMSaveLoadManager (unless they change that method before saving or loading). If you change the method, your previously existing data files won't be compatible, you'll need to delete them and start with new ones.
|
protectedvirtual |
On Awake, we set the MMSaveLoadManager's method to the chosen one
|
virtual |
Creates a new MMSaveLoadManagerMethod and passes it to the MMSaveLoadManager
|
protected |
string MoreMountains.Tools.MMSaveLoadManagerMethod.EncryptionKey = "ThisIsTheKey" |
the key to use to encrypt the file (if using an encryption method)
MMSaveLoadManagerMethods MoreMountains.Tools.MMSaveLoadManagerMethod.SaveLoadMethod = MMSaveLoadManagerMethods.Binary |
the method to use to save to file