The entity that owns this component. The entity will be
undefined if it has been removed.
只读实验性isAmphibious
isAmphibious:boolean
备注
Tells the pathfinder whether or not it can walk on the
ground or go underwater.
抛出
This property can throw when used.
只读实验性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.
Allows this entity to generate paths that include vertical walls (for example, like Minecraft spiders do.)