Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Init(VisualElement, IUxmlAttributes, CreationContext)

Initializer for the UxmlTraits for the TextElement.
Read time 1 minuteLast updated 13 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


Bag of attributes where to get the value from.

Creation Context, not used.