기술 자료

Unity Engine

Unity Engine

HasComponent<T>()

Checks whether a component of type T is attached to this element.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public bool HasComponent<T>() where T : struct, IVisualElementComponent

Returns

Type

Description

bool
true
if the component is attached; otherwise
false
.