Ejemplo n.º 1
0
        public void LoadOldSettingsFile()
        {
            var oldSettingsFile = EditorGUIUtility.Load("UniGit/Git-Settings.asset") as GitSettings;

            if (oldSettingsFile != null)
            {
                settings.Copy(oldSettingsFile);
                Debug.Log("Old Git Settings transferred to new json settings file. Old settings can now safely be removed.");
            }
            SaveSettingsToFile();
        }