Example #1
0
    static void Initialize()
    {
        string path = string.Format(@"{0}/{1}", Application.dataPath, MapSettings.mapSettingsProfilesPath);

        if (FileHelp.FileExist(path))
        {
            ms = FileHelp.LoadJsonFormatObject <MapSettings>(path);
            EditorWindow.GetWindow <MapSetter>().InitWithExistProfiler();
        }
        errorStyle.normal.textColor = Color.red;
    }