bindControllerPage
此内容尚不支持你的语言。
bindControllerPage(
world,entity,controller,source): () =>void
Defined in: ui/controller/bind-page.ts:26
Bind source (a page name) to the nearest controller named controller
(self → ancestors from entity): applied now and on every change. Unknown
pages/controllers are ignored (see setControllerPage); the binding tears
itself down when entity despawns. Returns a dispose to unbind early.
Parameters
Section titled “Parameters”entity
Section titled “entity”number
controller
Section titled “controller”string
source
Section titled “source”ReadonlySignal<string>
Returns
Section titled “Returns”() => void