File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Assets/JCSUnity/Scripts/SaveLoad Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * $File: JCS_GameData.cs $
3+ * $Date: 2020-07-10 12:15:20 $
4+ * $Revision: $
5+ * $Creator: Jen-Chieh Shen $
6+ * $Notice: See LICENSE.txt for modification and distribution information
7+ * Copyright © 2020 by Shen, Jen-Chieh $
8+ */
9+ using System . Collections ;
10+ using System . Collections . Generic ;
11+ using UnityEngine ;
12+
13+ namespace JCSUnity
14+ {
15+ /// <summary>
16+ /// Base game data structure.
17+ /// </summary>
18+ [ System . Serializable ]
19+ public abstract class JCS_GameData
20+ {
21+ /// <summary>
22+ /// Get complete save data path.
23+ /// </summary>
24+ public static string SavePath ( )
25+ {
26+ var gs = JCS_GameSettings . instance ;
27+ return Application . dataPath + gs . DATA_PATH ;
28+ }
29+ }
30+ }
You can’t perform that action at this time.
0 commit comments