all repos — RPG @ 9639697424c1e8744f7291270ed4fcc647c4eee7

Fully functional 3D turn based role playing game coded in C# and base Unity.

Assets/Scripts/Utility/Save.cs (view raw)

 1using System;
 2using System.Collections;
 3using System.Collections.Generic;
 4using UnityEngine;
 5
 6[System.Serializable]
 7public class Save
 8{
 9    public int currentLevel;
10    public float posx, posy, posz;
11    public float rot0, rot1, rot2, rot3;
12    public List<string> enemiesKilled;
13    public Dictionary<string, Stats> party;
14    public List<ItemInfo> inventory;
15    public int gold;
16    public string fighting;
17    public DateTime timestamp;
18    public float timerfloat;
19}