文档

Unity Engine

Unity Engine

GetAllItemIds(IEnumerable<int>)

Returns all item IDs that can be found in the tree, optionally specifying root IDs from where to start.
阅读时间1 分钟最后更新于 1 个月前

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.