跳转到内容

PrefabEntityData

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

Defined in: prefab/types.ts:46

children: string[]

Defined in: prefab/types.ts:50


components: PrefabComponentData[]

Defined in: prefab/types.ts:51


optional metadata?: Record<string, unknown>

Defined in: prefab/types.ts:59

Editor/tooling state that survives prefab round-trip. Not consumed by the runtime engine — the runtime instantiation path drops this. The editor uses it to round-trip per-entity metadata such as asset refs (asset:Comp.field → uuid) and selection markers.


name: string

Defined in: prefab/types.ts:48


optional nestedPrefab?: NestedPrefabRef

Defined in: prefab/types.ts:60


parent: string | null

Defined in: prefab/types.ts:49


prefabEntityId: string

Defined in: prefab/types.ts:47


visible: boolean

Defined in: prefab/types.ts:52