文档

Unity Engine

Unity Engine

Init(VisualElement, IUxmlAttributes, CreationContext)

Initialize the traits for this field.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. UxmlTraits is deprecated and will be removed. Use UxmlElementAttribute instead.
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)

Parameters

VisualElement to which to apply the attributes.

Bag of attributes where to get the attributes.

Creation context.