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