기술 자료

Unity Engine

Unity Engine

GetElement

Gets an element from the list.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

GetElement(uint)

Gets an element from the list.
public T GetElement(uint elementID)

Parameters

elementID

Element ID.

Returns

Type

Description

TThe element from the list that matches the parameter. If there isn't a match, returns null.

GetElement(Dictionary<string, string>)

Gets an element from the list.
public T GetElement(Dictionary<string, string> attributes)

Parameters

Dictionary of attributes that the element must include.

Returns

Type

Description

TThe element from the list that matches the parameter. If there isn't a match, returns null.

GetElement(string, Dictionary<string, string>)

Gets an element from the list.
public T GetElement(string name, Dictionary<string, string> attributes)

Parameters

name

Element name.

Dictionary of attributes that the element must include.

Returns

Type

Description

TThe element from the list that matches the parameter. If there isn't a match, returns null.