PrefabEntityData
此内容尚不支持你的语言。
Defined in: prefab/types.ts:46
Properties
Section titled “Properties”children
Section titled “children”children:
string[]
Defined in: prefab/types.ts:50
components
Section titled “components”components:
PrefabComponentData[]
Defined in: prefab/types.ts:51
metadata?
Section titled “metadata?”
optionalmetadata?: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
nestedPrefab?
Section titled “nestedPrefab?”
optionalnestedPrefab?:NestedPrefabRef
Defined in: prefab/types.ts:60
parent
Section titled “parent”parent:
string|null
Defined in: prefab/types.ts:49
prefabEntityId
Section titled “prefabEntityId”prefabEntityId:
string
Defined in: prefab/types.ts:47
visible
Section titled “visible”visible:
boolean
Defined in: prefab/types.ts:52