Returns whether the component is valid. A component is
considered valid if its owner is valid, in addition to any
addition to any additional validation required by the
component.
只读private
private:boolean
备注
若为 true,则表示实体死亡不会掉落物品栏的物品。
If true, the entity will not drop it's inventory on death.
抛出
This property can throw when used.
只读restrictToOwner
restrictToOwner:boolean
备注
若为 true,则表示实体物品栏仅能被其主人或实体自己访问和操作。
If true, the entity's inventory can only be accessed by its
owner or itself.
表示一个实体的物品栏属性。
Defines this entity's inventory properties.