文档

Unity Engine


User Manual

Script Reference

Unity Engine


GetElement(uint)

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

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.