Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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;
 }