Example #1
0
    public void SaveLayers(string fileName)
    {
        string path = Application.dataPath + "/Resources/" + MapSetting.MAP_LAYER_FOLDER_NAME + fileName + ".txt";

        mapLayers.Save(path);

#if UNITY_EDITOR
        UnityEditor.AssetDatabase.Refresh();
#endif
    }