Example #1
0
        public void Reload()
        {
            var versionFile = System.IO.Path.Combine(directory, ScriptVersion.VERSION_FILE_NAME);

            if (System.IO.File.Exists(versionFile))
            {
                version = JsonUtility.FromJson <ScriptVersion>(System.IO.File.ReadAllText(versionFile));
            }
        }