Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetElement(uint)

Gets an element by ID.
Read time 1 minuteLast updated 12 days ago

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.