Example #1
0
    void AddHistoryItemForFile(UiListView historyList, string fullPath)
    {
        if (GlobalData.AreEffectsUnderway())
        {
            return;
        }

        var fileName = Path.GetFileNameWithoutExtension(fullPath);
        var rt       = AddHelper(fullPath, fileName);

        historyList.Add(rt);
    }
Example #2
0
    void MoveHistoryItemToTop(UiListView historyList, string fullPath)
    {
        var item = historyList.GetItemByFullPath(fullPath);

        historyList.MoveToTop(item.transform);
    }