Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Init(VisualElement, IUxmlAttributes, CreationContext)

Initialize the traits for this field.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
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.