Пример #1
0
        /* Setter & Getter */

        /* Functions */

        private void Awake()
        {
            instance = CheckSingleton(instance, this);

            JCS_IO.CreateDirectory(JCS_GameData.SavePath());
            JCS_IO.CreateDirectory(JCS_Camera.SavePath());
            JCS_IO.CreateDirectory(JCS_Webcam.SavePath());
            JCS_IO.CreateDirectory(JCS_StreamingAssets.CachePath());
        }
Пример #2
0
        /* Setter & Getter */

        /* Functions */

        private void Awake()
        {
            instance = CheckSingleton(instance, this);

            REAL_DATA_PATH            = JCS_GameData.SavePath();
            REAL_SCREENSHOT_PATH      = JCS_Camera.SavePath();
            REAL_WEBCAM_PATH          = JCS_Webcam.SavePath();
            REAL_STREAMING_CACHE_PATH = JCS_StreamingAssets.CachePath();

            JCS_IO.CreateDirectory(REAL_DATA_PATH);
            JCS_IO.CreateDirectory(REAL_SCREENSHOT_PATH);
            JCS_IO.CreateDirectory(REAL_WEBCAM_PATH);
            JCS_IO.CreateDirectory(REAL_STREAMING_CACHE_PATH);
        }