文档

Unity Engine

Unity Engine

onRemove

This callback allows the user to implement their own code to be executed when the Remove Button is clicked.
阅读时间1 分钟最后更新于 1 个月前

Definition

[CreateProperty]public Action<BaseListView> onRemove { get; set; }

Remarks

This callback will only be called if BaseListView.showAddRemoveFooter is set to
true
. Setting this callback to anything other than
null
will override the basic remove behavior.