Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAllItemIds(IEnumerable<int>)

Returns all item IDs that can be found in the tree, optionally specifying root IDs from where to start.
Read time 1 minuteLast updated 10 days ago

Definition

public virtual IEnumerable<int> GetAllItemIds(IEnumerable<int> rootIds = null)

Parameters

Root IDs to start from. If null, will use the tree root ids.

Returns

Type

Description

IEnumerable<int>All items IDs in the tree, starting from the specified IDs.