跳转到内容

Parent

此内容尚不支持你的语言。

const Parent: BuiltinComponentDef<ParentData>

Defined in: ecs/component.ts:965

An entity’s parent. The engine keeps this and Children in step, so set the relationship through world.setParent rather than by writing either side; a transform composes against whatever this names.