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

大约有 1,629 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)

1231. Byte二进制读写(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 51%]

...中,我们接收和发送网络消息。 ```typescript var msg:Object ={name:"xxx",age:18,weight:65.5,height:175}; var byte:Byte = new Byte();//实例化byte数组 byte.endian = Byte.LITTLE_ENDIAN;//设置大小端 byte.writeUTFString(msg.name);//写入数据 byte.writeByte(msg.age); byte.writeFlo...

来源: Laya2.0_文档 发布时间: 20210715

1232. parameter 2 is not of type 'WebGLTexture'. [ 51%]

...oad('res/video/mov_bbb.mp4'); // 添加到舞台 let wrap = this.getChildByName('wrap') as Laya.Box; wrap.addChild(videoElement); // 监听点击事件,开始播放视频 let btn_start = this.getChildByName('btn_start') as Laya.Image; btn_start.on(Laya.Event.CLICK,this,()=>{ // 加载资源足以...

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

1233. TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 51%]

...eError: Cannot read property 'btCollisionObject' of undefined 关于@prop {name:Tab,type:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 2.0.0编译报错Cannot find global type 'Array' 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read pro...

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

1234. LayaAir与LayaFlash有什么区别? [ 51%]

...用二的幂次方图集和非二的幂次方图集区别在哪? var 与 name 的详细区别是什么? 自从layaflash起,就一直存在的bug Laya.Handler.create和new Laya.Handler有啥区别 LayaAir 3D 有提供 3D 物理引擎功能吗? 按官网上的文档 使用LayaNative运行LayaA...

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

1235. 微信小游戏 支持热更新吗? [ 51%]

...微信文件管理这块,layaairfiles.txt文件存储的结构{md5: md5Name, readyUrl: readyUrl,size:fileSize,times:Browser.now(),encoding:encoding}中readyUrl用的是绝对路径(如http://10.10.10.69/res/atlas.comp.png),而不是相对于项目根目录的相对路径(如res/atlas/comp.png),...

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

1236. laya3d的scene里边怎么能添加2d的显示对象? [ 51%]

...自: http://layaair.ldc.layabox.com/demo/?category=3d&group=camera&name=D3SpaceToD2Space http://ldc.layabox.com/doc/?nav=zh-as-4-1-2 2018-09-12 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 麟。 相关问题 两个对象new了...

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

1237. laya.ui.Slider_API3.0 [ 51%]

...inBaseUrl _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed...

来源: Laya3.0_api 发布时间: 20231115

1238. 用ts开发,从编辑模式发布后,代码模式里layaUI.max.all.ts会报错 [ 51%]

...x/src/views/ui/layaUI.max.all.ts' severity: '错误' message: 'Cannot find name 'loadUI'. Did you mean the instance member 'this.loadUI'?' at: '16,13' source: 'ts' 2017-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

1239. laya.ui.Tab_API3.0 [ 51%]

...a _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direct...

来源: Laya3.0_api 发布时间: 20231115

1240. 源码List的一次代码错误 [ 51%]

...th - box.x; cell.y = (this._isVertical ? k : l) * cellHeight - box.y; cell.name = "item" + (k * numX + l); box.addChild(cell); this.addCell(cell); } } } 2018-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1...

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