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.
只读实验性transformToItem
transformToItem:string
备注
表示成功交互后,喂食的物品将转化为的物品。
The feed item used will transform into this item upon
successful interaction.
为实体添加一个成长计时器。可以通过喂给实体它喜欢的物品(由 feedItems 定义)来加速成长。
Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.