UnityEditor.ColumnView.SetSelected C# (CSharp) Method

SetSelected() public method

public SetSelected ( int column, int selectionIndex ) : void
column int
selectionIndex int
return void
        public void SetSelected(int column, int selectionIndex)
        {
            if (this.m_ListViewStates.Count == column)
            {
                this.m_ListViewStates.Add(new ListViewState());
            }
            if (this.m_CachedSelectedIndices.Count == column)
            {
                this.m_CachedSelectedIndices.Add(-1);
            }
            this.m_CachedSelectedIndices[column] = selectionIndex;
            this.m_ListViewStates[column].row = selectionIndex;
        }