Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


allowAdd

This property allows the user to allow or block the addition of an item when clicking on the Add Button. It must return true or false.
Read time 1 minuteLast updated 6 days ago

Definition

[UxmlAttribute]public bool allowAdd { get; set; }

Remarks

If the callback is not set to
false
, any Add operation will be allowed.