Can you give me an example of Auto Save in a script? The best I've managed is to get the save game menu to open but I just want it to save directly with no menu.
You can save to the current auto save slot like this: ORK.SaveGame.Save(SaveGameHandler.AUTOSAVE_INDEX - ORK.Game.AutoSaveSlot); ORK.SaveGame.CreateInfos(); CreateInfos is called to update the save game info data when displaying save game menus :)
You can also use Save Point components for this stuff, e.g. using Autostart to automatically save when entering the scene, or Trigger Enter to set up checkpoints, etc.
Post edited by gamingislove on
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
ORK.SaveGame.Save(SaveGameHandler.AUTOSAVE_INDEX - ORK.Game.AutoSaveSlot);
ORK.SaveGame.CreateInfos();
CreateInfos is called to update the save game info data when displaying save game menus :)
You can also use Save Point components for this stuff, e.g. using Autostart to automatically save when entering the scene, or Trigger Enter to set up checkpoints, etc.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!