文档

Unity Engine

Download Unity

Unity Engine

contentContainer

The element that holds this decorator's children.
阅读时间1 分钟最后更新于 2 个月前

Definition

public override VisualElement contentContainer { get; }

Remarks

Add a bindable child here. The decorator tracks the first direct IBindable child it receives and listens for that child's bind event, which drives the override indicator, the binding affordances, and the context menu. It ignores any bindable children added after the first, so add the field you want the decorator to follow before the others.