Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
        //========================================
        //      Self-Define
        //------------------------------
        //----------------------
        // Public Functions

        /// <summary>
        /// Read the .ini/.properties file for this editor window.
        /// </summary>
        public static void ReadINIFile()
        {
            INI_FILE_PATH = Application.dataPath + "/JCSUnity/Editors/ini/";

            //string path = Application.dataPath + "/../editor.properties";
            string path = INI_FILE_PATH + EDITOR_PROPERTIES_FILENAME;

            EDITOR_INI = JCS_INIFileReader.ReadINIFile(path);
        }