LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

TreeView.GetFirstAndLastVisibleRows

protected void GetFirstAndLastVisibleRows(out int firstRowVisible, out int lastRowVisible);

Parameters

firstRowVisibleFirst row visible.
lastRowVisibleLast row visible.

Description

Returns the first and the last indices of the rows that are visible in the scroll view of the TreeView.

See Also: GetRows.