File tree Expand file tree Collapse file tree 4 files changed +5
-1
lines changed
Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ namespace JCSUnity
1616 /// Interface of storing game data as binary format.
1717 /// </summary>
1818 [ System . Serializable ]
19- public class JCS_BinGameData
19+ public abstract class JCS_BinGameData
20+ : JCS_GameData
2021 {
2122 /* Variables */
2223
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ namespace JCSUnity
1919 /// </summary>
2020 [ System . Serializable ]
2121 public abstract class JCS_JSONGameData
22+ : JCS_GameData
2223 {
2324 /* Variables */
2425
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ namespace JCSUnity
1818 /// Interface of storing game data as XML format.
1919 /// </summary>
2020 public abstract class JCS_XMLGameData
21+ : JCS_GameData
2122 {
2223 /* Variables */
2324
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ private void Awake()
118118 {
119119 instance = CheckSingleton ( instance , this ) ;
120120
121+ Directory . CreateDirectory ( JCS_GameData . SavePath ( ) ) ;
121122 Directory . CreateDirectory ( JCS_Camera . SavePath ( ) ) ;
122123 Directory . CreateDirectory ( JCS_Webcam . SavePath ( ) ) ;
123124 }
You can’t perform that action at this time.
0 commit comments