文档

Unity Engine


User Manual

Script Reference

Unity Engine


Init(VisualElement, IUxmlAttributes, CreationContext)

Initialize ScrollView properties using values from the attribute bag.
阅读时间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

The object to initialize.

The attribute bag.

The creation context; unused.