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.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[CreateProperty]public bool allowAdd { get; set; }
Remarks
If the callback is not set to , any Add operation will be allowed.
false