コード例 #1
0
    ////////////////////

    ////////////////////
    #region UI Interaction

    // Map Selected in the Map List Panel //
    public void MapSelected(string mapName)
    {
        MiniMap.ClearMinimaps(minimapScrollPanel);

        if (miniMap.TryGetValue(mapName, out MapRecord record))
        {
            selectedWDTId = record.WdtFileDataID;

            WDTFileDataIDText.text = $"{selectedWDTId}";
            WDT.WDTEntries.Clear();
            if (WDT.ParseWDT(record.WdtFileDataID))
            {
                MiniMap.Load(record.WdtFileDataID, minimapScrollPanel);
            }
        }
    }
コード例 #2
0
    ////////////////////

    ////////////////////
    #region UI Interaction

    // Map Selected in the Map List Panel //
    public void MapSelected(string mapName)
    {
        selectedMapName = mapName;
        minimap.ClearMinimaps(minimapScrollPanel);
        minimap.Load(mapName, minimapScrollPanel);
    }