Пример #1
0
    public void ClickRecentMap(ListObject id)
    {
        RecentMapSelected = id.InstanceId;
        Menu.OpenRecentMap();

        /*
         * MapLuaParser.Current.ScenarioFileName = PlayerPrefs.GetString(ScenarioFile + id.InstanceId, "");
         * MapLuaParser.Current.FolderName = PlayerPrefs.GetString(FolderPath + id.InstanceId, "");
         * MapLuaParser.Current.FolderParentPath = PlayerPrefs.GetString(ParentPath + id.InstanceId, "");
         *
         * //HelperGui.ButtonFunction("LoadMap");
         * MapLuaParser.Current.LoadFile();
         */
    }