Hi, what would be the easiest way to reset the current QuestLog to initial state? I'm asking because when I reload a game through reloading a scene, cleared quests stay completed.
Thanks
Resetting QuestLog state
Re: Resetting QuestLog state
Hi,
If you're using the save system, call PixelCrushers.SaveSystem.RestartGame("sceneName") to start a new game. Or call SaveSystem.LoadFromSlot(#) to load a previously-saved game.
Otherwise, call DialogueManager.ResetDatabase() before loading your scene.
If you're using the save system, call PixelCrushers.SaveSystem.RestartGame("sceneName") to start a new game. Or call SaveSystem.LoadFromSlot(#) to load a previously-saved game.
Otherwise, call DialogueManager.ResetDatabase() before loading your scene.