示例#1
0
        /// <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);
        }
示例#2
0
        /// <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);
        }
示例#3
0
        /// <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);
        }
示例#4
0
 /// <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;
 }