跳转到内容

widgetToPrefab

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

widgetToPrefab(build, name): PrefabData

Defined in: ui/widgets/toPrefab.ts:87

Run build against a recording World and serialise the resulting subtree to a PrefabData named name. build returns the root entity (as the factories do).

(world) => number

string

PrefabData