大约有 3 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0021 秒)
... _temp: Sprite; private _allAgent: Nav2DAgent[] = []; private findCompents(lists: any[], sprite: Sprite, componentType: typeof Component) { let comp = sprite.getComponent(componentType); if (comp != null) { lists.push(comp); } for (var i = 0; i < sprite.numChildren; i++) { let child = sprite.getC...
来源: Laya3.0_文档 发布时间: 20251010
...础的UI组件作为子节点,才能使得组件功能完整。 例如,List必须要有基础UI组件作为列表的渲染单元,单选框组(RadioGroup)是多个单选框(Radio)组件的容器。 1.3 弹窗视图组件 从引擎的类结构上看,弹窗视图组件 Dialog 并不继...
来源: Laya3.0_文档 发布时间: 20251010
....Box } ) //拿到 Box 组件 private box: Laya.Box; @property( { type:Laya.List } ) //拿到 List 组件 private list: Laya.List; @property( { type:Laya.Image } ) //拿到 Image 组件 private image: Laya.Image; @property( { type:Laya.Label } ) //拿到 Label 组件 private label: Laya.Label; @prope...
来源: Laya3.0_文档 发布时间: 20251010