示例#1
0
    void LoadMap()
    {
        var _path = EditorUtility.OpenFilePanel("Load", Application.dataPath, "xml");

        TileWorldCreatorSaveLoad.Load(_path, creator);
    }
示例#2
0
    //Save and Load Methods
    //--------
    void Save()
    {
        var _path = EditorUtility.SaveFilePanel("Save", Application.dataPath, "map", "xml");

        TileWorldCreatorSaveLoad.Save(_path, creator);
    }