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.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”number