ドキュメント

Unity Engine

Unity Engine

onAdd

This callback allows the user to implement their own code to be executed when the Add Button is clicked.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

[CreateProperty]public Action<BaseListView> onAdd { 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 add behavior. This callback will be overriden if the BaseListView.overridingAddButtonBehavior callback is set.