This version of Unity is unsupported.

BaseTreeViewController.GetChildIndexForId

Declaration

public int GetChildIndexForId(int id);

Parameters

id The item ID.

Returns

int The child index under the parent. Returns -1 if the item has no parent or doesn't exist in the tree.

Description

Gets the child index under the parent of the item with the specified ID.