createDialog
此内容尚不支持你的语言。
createDialog(
opts):DialogHandle
Defined in: ui/widgets/dialog.ts:54
Modal dialog: a backdrop scrim (blocks clicks behind it) with a centered
panel child. Hidden by default; open state IS the backdrop root’s
UINode.display, so hiding removes the whole subtree — including anything
the caller parents under panelEntity — from layout, rendering and input.
Dismissal (Escape / scrim click) is data-driven by the UIDialog component, so a dialog instantiated from a prefab behaves without code.