文档

Unity Engine

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

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