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

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

1441. 2.3.0beta 各种bug [ 44%]

...yaMaxUI.ts"     let fileContent = readFile(layaMaxUI_Path);     // console.log("读取文件",fileContent)     if (fileContent ) {             fileContent = fileContent.replace(/Laya\.UICodeView/g,"UICodeView");             fs.writeFileSync(layaMaxUI_Path, fileCon...

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

1442. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 43%]

...{ super(); } onTriggerEnter(): void { /* ……省略若干逻辑代码 */ console.log("触发器物理事件onTriggerEnter"); } onTriggerStay(): void { /* ……省略若干逻辑代码 */ console.log("触发器物理事件onTriggerStay"); } onTriggerExit(): void { /* ……省略若干逻辑代码...

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

1443. 微信开发者工具,打开Laya发布的包。编译报请先初始化小游戏适配库,详细教程 [ 43%]

...游戏适配库,详细教程https://ldc.layabox.com/doc/?nav=zh-ts-5-0-0 console.error @ VM163:1 Browser.__init__ @ code.js:7131 (anonymous) @ code.js:7056 GameEx @ code.js:56322 (anonymous) @ code.js:56681 require @ WAGame.js:3 (anonymous) @ WAGame.js:3 (anonymous) @ game.js? [sm]:2 require @ WAG...

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

1444. [LayaAir3]Laya 2.x/3.x 演示项目中 Laya.timer.scale 和 Laya.SpineSkeleton.playbackRate 对部分骨骼加速不生效 [ 43%]

...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 问题状态 最新活动: 2025-01-08 19:11 浏览: 8857 关注: 2 人 Pino • 2024-12-19 21:44 感谢大大,辛苦了

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

1445. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 43%]

...n onError(): void{ trace("parse error"); } private function play(): void { console.log("1111111111"); if(++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(this.index, false, true) } } ``` 具体效果大家可以在官网引擎事例中查看。https://layaair2.ldc2.l...

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

1446. 为什么谷歌浏览器调试可以显示这些文字打包后却没有了 [ 43%]

... = div.contextWidth; if(div.contextWidth > 200) div.contextWidth = 200; console.log(div.contextWidth); paopao.y = gRoomView.chatBox.height; paopao.imgSayBg.height = div.contextHeight + 26; paopao.imgSayBg.width = div.contextWidth + 60; paopao.height = paopao.imgSayBg.height + 50; paopao.width = p...

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

1447. 骨骼动画-换装 [ 43%]

...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; Laya.stage.addC...

来源: Laya_示例 发布时间: 20250228

1448. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 43%]

... = div.contextWidth; if(div.contextWidth > 200) div.contextWidth = 200; console.log(div.contextWidth); paopao.y = gRoomView.chatBox.height; paopao.imgSayBg.height = div.contextHeight + 26; paopao.imgSayBg.width = div.contextWidth + 60; paopao.height = paopao.imgSayBg.height + 50; paopao.width = p...

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

1449. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 43%]

...]     if (json.type!=="Scene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,please use other function to load this file."); } }            var innerResouMap=data[1];     Utils3D._createNodeByJson(this,jso...

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

1450. 垂直滑动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...hange); this.owner.addChild(vs); } private onChange(value: number): void { console.log("滑块的位置:" + value); } } 运行效果: (动图2-1) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2024-09-10 16:27:03 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20240910