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

CollectionViewController.GetIndexForId

Declaration

public int GetIndexForId(int id);

Parameters

id The item id..

Returns

int The item index.

Description

Returns the index for the specified id.

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