文档

Unity Engine

Unity Engine

GetItemForId(int)

Returns the item with the specified ID.
阅读时间1 分钟最后更新于 1 个月前

Definition

public virtual object GetItemForId(int id)

Parameters

id

The item ID.

Returns

Type

Description

ObjectThe object in the source with this ID.