文档

Unity Engine

Unity Engine

GetElement(uint)

Gets an element by ID.
阅读时间1 分钟最后更新于 1 个月前

Definition

public BaseElement GetElement(uint id)

Parameters

The ID of the element to get.

Returns

Type

Description

BaseElementThe element with the passed-in ID when one exists. Otherwise, returns null.