Documentation

Unity Engine


Unity Engine


Init(VisualElement, IUxmlAttributes, CreationContext)

Initialize VisualElement properties using values from the attribute bag.
Read time 1 minuteLast updated a month 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

The object to initialize.

The attribute bag.

The creation context; unused.