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.