|
Mad Level Manager
|
Interface of MadLevelProfile save system backend. Implement it and set as MadLevelProfile.backend to override default PlayerPrefs backend. More...
Public Member Functions | |
| void | Start () |
| Executed at the start of lifetime. At this point all properties are set. More... | |
| string | LoadProfile (string profileName) |
| Loads the profile string. It should be the same string from SaveProfile() or null if it is not available. More... | |
| void | SaveProfile (string profileName, string value) |
| Requests the current profile value to be saved. This method will be called on each change, so it may be a good idea to buffer these calls. More... | |
| void | Flush () |
| Forces all the data to be saved immediately. More... | |
| bool | CanWorkInEditMode () |
| Should return true if this backend can be used in the edit mode (editor). More... | |
Interface of MadLevelProfile save system backend. Implement it and set as MadLevelProfile.backend to override default PlayerPrefs backend.
| bool MadLevelManager.IMadLevelProfileBackend.CanWorkInEditMode | ( | ) |
Should return true if this backend can be used in the edit mode (editor).
Implemented in MadLevelManager.MadLevelProfile.DefaultBackend, and MadLevelManager.MadLevelProfileBufferedBackend.
| void MadLevelManager.IMadLevelProfileBackend.Flush | ( | ) |
Forces all the data to be saved immediately.
Implemented in MadLevelManager.MadLevelProfile.DefaultBackend, and MadLevelManager.MadLevelProfileBufferedBackend.
| string MadLevelManager.IMadLevelProfileBackend.LoadProfile | ( | string | profileName | ) |
Loads the profile string. It should be the same string from SaveProfile() or null if it is not available.
| profileName | The profile name. |
Implemented in MadLevelManager.MadLevelProfile.DefaultBackend, and MadLevelManager.MadLevelProfileBufferedBackend.
| void MadLevelManager.IMadLevelProfileBackend.SaveProfile | ( | string | profileName, |
| string | value | ||
| ) |
Requests the current profile value to be saved. This method will be called on each change, so it may be a good idea to buffer these calls.
| profileName | The profile name |
| value | Profile string. |
Implemented in MadLevelManager.MadLevelProfileBufferedBackend.
| void MadLevelManager.IMadLevelProfileBackend.Start | ( | ) |
Executed at the start of lifetime. At this point all properties are set.
Implemented in MadLevelManager.MadLevelProfile.DefaultBackend, and MadLevelManager.MadLevelProfileBufferedBackend.
1.8.8