文档

Unity Engine

Unity Engine

makeNoneElement

This callback allows the user to set a Visual Element to replace the "List is empty" Label shown when the ListView is empty.
阅读时间1 分钟最后更新于 1 个月前

Definition

[CreateProperty]public Func<VisualElement> makeNoneElement { get; set; }

Remarks

Setting this callback to anything other than
null
will remove the "List is empty" Label.