跳转到内容

findControllerOwner

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

findControllerOwner(world, entity, name): number | null

Defined in: ui/controller/ui-controller.ts:75

The entity that OWNS the controller named name, searching entity then its ancestors (nearest wins). Null if no ancestor declares it. This is how a gear on a leaf finds the controller on the UI root.

World

number

string

number | null