Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Init(VisualElement, IUxmlAttributes, CreationContext)

Initialize the traits.
Read time 1 minuteLast updated 14 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 that will be created and populated.

Bag of attributes where the data comes from.

Creation context, unused.