跳转到内容

spawnUIEntity

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

spawnUIEntity(init): number

Defined in: ui/core/compose.ts:188

Spawn a UI entity — Transform and UINode always, UIVisual and Text when the init asks for them, parented when it names a parent. Every built-in widget is composed from this, so a hand-built node and a widget are the same thing.

UIEntityInit

number