BoundProperty.index

public int index;

描述

该 BoundProperty 在绑定属性内部列表中的索引。

当域重新加载发生或与 BoundProperty 关联的 GameObject 或组件被销毁时,绑定属性索引会被回收。当索引被回收时,系统会递增版本标识符。要表示相同的 BoundProperty,索引和版本必须匹配。如果索引和版本不同,则索引已被回收。


Did you find this page useful? Please give it a rating: