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

CollectionViewController.GetIdForIndex

Declaration

public int GetIdForIndex(int index);

Parameters

index The item index.

Returns

int The item id.

Description

Returns the id for the specified index.

For example, the index will be different from the id in a tree.