/// <summary> /// Get complete save data path. /// </summary> public static string SavePath() { var gs = JCS_GameSettings.instance; string path = JCS_Utility.PathCombine(Application.persistentDataPath, gs.DATA_PATH); return(path); }
/// <summary> /// Return the streaming assets cache path. /// </summary> public static string CachePath() { var gs = JCS_GameSettings.instance; string path = JCS_Utility.PathCombine(Application.dataPath, gs.STREAMING_CACHE_PATH); return(path); }
/// <summary> /// Get the screenshot images' save path. /// </summary> /// <returns></returns> public static string SavePath() { var gs = JCS_GameSettings.instance; string path = JCS_Utility.PathCombine(Application.dataPath, gs.SCREENSHOT_PATH); return(path); }
/// <summary> /// Read the .ini/.properties file for this editor window. /// </summary> public static void ReadINIFile() { INI_FILE_PATH = JCS_Utility.PathCombine(Application.dataPath, "/JCSUnity/Editors/ini/"); string path = JCS_Utility.PathCombine(INI_FILE_PATH, EDITOR_PROPERTIES_FILENAME); EDITOR_INI = JCS_INIFileReader.ReadINIFile(path); }