@@ -20,32 +20,17 @@ public abstract class JCS_JSONData : JCS_AppData
2020 {
2121 /* Variables */
2222
23- public string Copyright = "" ;
24- public string Version = "" ;
25-
2623 /* Setter & Getter */
2724
2825 /* Functions */
2926
30- private void InitJCSFile ( )
31- {
32- if ( JCS_PackageDataSettings . instance == null )
33- {
34- JCS_Debug . LogError ( "Failed to load the copyright and version text" ) ;
35- return ;
36- }
37-
38- Copyright = JCS_PackageDataSettings . instance . CopyrightString ;
39- Version = JCS_PackageDataSettings . instance . VersionString ;
40- }
41-
4227 /// <summary>
4328 /// Save the game data into xml file format.
4429 /// </summary>
4530 /// <typeparam name="T"> type of the data save. </typeparam>
4631 /// <param name="filePath"> where to save. </param>
4732 /// <param name="fileName"> name of the file u want to save. </param>
48- public void Save < T > ( string filePath , string fileName )
33+ public override void Save < T > ( string filePath , string fileName )
4934 {
5035 string fullFilePath = filePath + fileName ;
5136
@@ -58,7 +43,7 @@ public void Save<T>(string filePath, string fileName)
5843 /// <typeparam name="T"> type of the data save. </typeparam>
5944 /// <param name="filePath"> where to save. </param>
6045 /// <param name="fileName"> name of the file u want to save. </param>
61- public void Save < T > ( string fullFilePath )
46+ public override void Save < T > ( string fullFilePath )
6247 {
6348 string filePath = Path . GetDirectoryName ( fullFilePath ) ;
6449
0 commit comments