This runs on top of ARPG's SaveLoad.
More...
This runs on top of ARPG's SaveLoad.
It replaces SaveLoad's menu with its own menu, which allows it to also save and load Dialogue System data. It supports multiple saved game slots, and you can override the GetSlotSummary(), SaveSlot(), and LoadSlot() methods to save somewhere other than the default, which is PlayerPrefs.
◆ ExitProgram()
void PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.ExitProgram |
( |
| ) |
|
◆ GetSlotSummary()
virtual string PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.GetSlotSummary |
( |
int |
slot | ) |
|
|
virtual |
Gets the slot summary, which is text shown in the slot's load button.
This method uses PlayerPrefs. Override it if you want to save elsewhere such as a local file.
- Returns
- The slot summary.
- Parameters
-
◆ LoadSlot()
virtual string PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.LoadSlot |
( |
int |
slot | ) |
|
|
virtual |
Loads the saved data for a slot.
This method uses PlayerPrefs. Override it if you want to load from elsewhere.
- Returns
- The slot.
- Parameters
-
◆ QuitToTitle()
void PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.QuitToTitle |
( |
| ) |
|
Quits the game, returning to the title level.
◆ SaveSlot()
virtual void PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.SaveSlot |
( |
int |
slot, |
|
|
string |
summary, |
|
|
string |
saveData |
|
) |
| |
|
virtual |
Saves to a slot.
This method uses PlayerPrefs. Override it if you want to save elsewhere.
- Parameters
-
slot | Slot. |
summary | Summary. |
saveData | Save data. |
◆ Start()
void PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.Start |
( |
| ) |
|
◆ Update()
void PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.Update |
( |
| ) |
|
◆ guiSkin
GUISkin PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.guiSkin |
◆ loadMenuTitle
string PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.loadMenuTitle = "Load From Slot" |
◆ menuKey
KeyCode PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.menuKey = KeyCode.Escape |
◆ menuTitle
string PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.menuTitle = "Menu" |
◆ numSavedGameSlots
int PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.numSavedGameSlots = 5 |
◆ questLogWindow
QuestLogWindow PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.questLogWindow |
◆ savedGameKey
string PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.savedGameKey = "SavedGame" |
◆ saveMenuTitle
string PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.saveMenuTitle = "Select Save Slot" |
◆ scaledRect
ScaledRect PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.scaledRect |
Initial value:
ScaledValue.FromPixelValue(300),
ScaledValue.FromPixelValue(370))
◆ titleLevelName
string PixelCrushers.DialogueSystem.ARPG.DSSaveLoad.titleLevelName = "Title" |
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Integration/Action-RPG Starter Kit Integration/Assets/Dialogue System/Third Party Support/Action-RPG Starter Kit/Scripts/DSSaveLoad.cs