コード例 #1
0
        // Clear button is clicked
        public void ClearButtonPressed()
        {
            snapToBottom = true;

            infoEntryCount    = 0;
            warningEntryCount = 0;
            errorEntryCount   = 0;

            infoEntryCountText.text    = "0";
            warningEntryCountText.text = "0";
            errorEntryCountText.text   = "0";

            collapsedLogEntries.Clear();
            collapsedLogEntriesMap.Clear();
            uncollapsedLogEntriesIndices.Clear();
            indicesOfListEntriesToShow.Clear();

            recycledListView.DeselectSelectedLogItem();
            recycledListView.OnLogEntriesUpdated(true);
        }