Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- By: Dieton
- 2022
- */
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using System;
- [Serializable]
- public class SaveLoadData{
- //save data system last save
- public string lastSavedTitle;
- //player data
- public List<PlayerData> playerData = new List<PlayerData>();
- }
- [Serializable]
- public class PlayerData{
- //save data
- public string saveName;
- public string saveTimeDate;
- //game data
- public int levelID;
- //player data
- public string playerName;
- public PlayerData(
- //save data
- string _saveName,
- string _saveTimeDate,
- //game data
- int _levelID,
- //player data
- public string _playerName;
- )
- {
- //save data
- saveName = _saveName;
- saveTimeDate = _saveTimeDate;
- //game data
- levelID = _levelID;
- //player data
- playerName = _playerName
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement