The entity that owns this component. The entity will be
undefined if it has been removed.
只读实验性typeId
typeId:string
备注
Identifier of the component.
方法
isValid
isValid(): boolean
实验性
返回 boolean
Whether the component is valid.
备注
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.
Base class for downstream entity components.