기술 자료

Unity Engine

Unity Engine

Init(VisualElement, IUxmlAttributes, CreationContext)

Initializes the trait of BaseField.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

경고
Deprecated. BaseFieldTraits<TValueType, TValueUxmlAttributeType> is deprecated and will be removed. Use UxmlElementAttribute instead.
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)

Parameters

The VisualElement to initialize.

Bag of attributes.

The creation context associated with these traits.