Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

BaseTreeViewController.GetIndexForId

Declaration

public int GetIndexForId(int id);

Parameters

id The ID of the item to look for.

Returns

int The index of the item in the expanded items source. Returns -1 if the item is not visible.

Description

Returns the index in the source of the item, by ID.