Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SaveClass
- {
- public List<Section> Sections;
- [System.Serializable]
- public class Section
- {
- public string SectionName;
- public int LevelCount;
- public List<bool> LevelBeaten;
- public List<bool> LevelCompleted;
- public Section(string SectionName, int LevelCount)
- {
- this.SectionName = SectionName;
- this.LevelCount = LevelCount;
- for (int i = 0; i < LevelCount; i++)
- {
- LevelBeaten.Add(false);
- LevelCompleted.Add(false);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement