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