This version of Unity is unsupported.

BaseTreeViewController.GetParentId

Declaration

public int GetParentId(int id);

Parameters

id The id of the item to fetch the parent from.

Returns

int The parent id, or -1 if the item is at the root of the tree.

Description

Returns the parent id of an item, by id.