- Home /
Question by
gamesfromanotheruniverse · Mar 03, 2020 at 09:45 PM ·
c#unityeditorxmlxmlserializer
How to Shortly Reset a XML File and Class VariablesTo Create New Game
How can I reset a xml file and its saved class variables to create a new game?
I want all the saved data to be reset.
DO i have to manually reset all the class variables by code; such as healthPoints = 100, collectedStars = 0... etc etc
OR is there a shortcut to reset a class's variables and reset current xml file?
Comment
Your answer
Follow this Question
Related Questions
Problems with the XML Serializer 1 Answer
Need Help With XML Reading Class Initialization 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers