• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 50 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0036 秒)

1. let btn:Button = cell.getChildByName("button的name"); [ 100%]

...:Button = cell.getChildByName("mItemBtn");  这样会报一个错:Type "Node" is not assignable to type "Button". Property "toggle" is missing in type "Node"; 对着官网list例子做的,不知道为啥会报这个错? 2018-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

来源: Laya_社区 发布时间: 20180621

2. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 90%]

...nt. */     /* Module Resolution Options */     // "moduleResolution": "node",            /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */     // "baseUrl": "./",                       /* Base directory to resolve non-absolute modul...

来源: Laya_社区 发布时间: 20190408

3. 2.0里面的组件(Laya.Script)的prop其中几个类型应该怎么设置 [ 89%]

... {name:colorType, tips:"", type:Color}*/ public colorType; /** @prop {name:nodeType, tips:"", type:Node}*/ public nodeType; /** @prop {name:prefabType, tips:"", type:Prefab}*/ public prefabType; /** @prop {name:sizeGridType, tips:"", type:SizeGrid}*/ public sizeGridType; /** @prop {name:colorArrayTy...

来源: Laya_社区 发布时间: 20181215

4. 在 list 的 box(render) 中添加 HTMLDivElemnt 组件 导致 IDE 卡死崩溃 IDE版本:2.12.0 [ 89%]

...,     "props":{"width":640,"sceneColor":"#000000","height":1136},     "nodeParent":-1,     "maxID":11,     "label":"View",     "isOpen":true,     "isDirectory":true,     "isAniNode":true,     "hasChild":true,     "compId":2,     "child":[         {             "x":15, ...

来源: Laya_社区 发布时间: 20210817

5. list的使用 [ 86%]

...? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 关于使用matterjs物理引擎鼠标问题 使用钢体设置防穿后仍有几率...

来源: Laya_社区 发布时间: 20180525

6. list 下的limitdate使用问题 [ 84%]

...? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 关于使用matterjs物理引擎鼠标问题 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2018-01-20 11:43 浏览: 607 关注: 2 人

来源: Laya_社区 发布时间: 20180119

7. 新手使用list的疑问! [ 84%]

...? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 使用钢体设置防穿后仍有几率会穿透 预设怎么在代码中使用 关于使用matterjs物理引擎鼠标问题 问题状态 最新活动: 2018-07-02 15:09 浏览:...

来源: Laya_社区 发布时间: 20180630

8. 怎么使用http请求 [ 83%]

...? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 关于使用matterjs物理引擎鼠标问题 使用钢体设置防穿后仍有几...

来源: Laya_社区 发布时间: 20180807

9. 含有List的Scene移除后List的item未移除,性能面板的Sprite一直增长 [ 83%]

...面板的Sprite总是比打开界面前大 在bin/libs/laya.core.js的Laya.Node添加测试代码后发现是List的item导致的 操作后在控制台打印Laya.Node.addArr查看参与计数的对象 ---------- 附件已上传 附件 : --> QianTao.zip 2022-10-18 添加评论 免费帖 --> 分享 ...

来源: Laya_社区 发布时间: 20221018

10. list和htmlDivElement怎么配合使用 [ 83%]

...用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 关于使用matterjs物理引擎鼠标问题 预设怎么在代码中使用 使用钢体设置防穿后仍有几率会穿透 问题状态 最新...

来源: Laya_社区 发布时间: 20210616