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

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

2971. mac版2.1.1.1 LayaAirIDE建空白工程编译报错 [ 55%]

...报错 window is not defined 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2019-08-26 16:18 浏览: 761 关注: 1 人

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

2972. 类似于list下的按钮监听 !如何去做。 [ 55%]

...置name ,然后通过 Sprite.on(Event.CLICK,this,yfqian_GameUi); public function yfqian_GameUi(e:Event):void{ trace("Sprite:",e.target.name) }

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

2973. 小白求助,关于时间轴动画如何设置播放一次后消失? [ 55%]

....loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { var tl = new Laya.Animation(); tl.loadAnimation("democesi.ani"); Laya.stage.addChild(tl); tl.play(); tl.pos(302,650); } 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

2974. 编译微信小游戏报错。高手快进来看呀。 [ 55%]

...r Unexpected number in JSON at position 1;at api readFile success callback function SyntaxError: Unexpected number in JSON at position 1 2018-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同...

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

2975. skydome可以替换贴图吗? [ 55%]

...al();         Texture2D.load("res/jfb.jpg", Handler.create(null, function (tex: Texture2D) {             material.panoramicTexture = tex;             skymat.material = material;         })); 2020-03-19 0 0 分享 微博 QZONE 微信 为什么被折叠...

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

2976. laya.d3.core.render.command.Command_API3.0 [ 55%]

... Command constructor recover run setContext Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface

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

2977. ShaderPass介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 55%]

...key/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067...

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

2978. HTTP通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 55%]

... 监听下载过程中的 progress 事件 xhr.addEventListener('progress', function (event: any) { if (event.lengthComputable) { // 计算下载的百分比 var percent = (event.loaded / event.total) * 100; console.log('下载进度: ' + percent.toFixed(2) + '%'); } }); // 设置请求完成后的...

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

2979. 使用localToGlobal方法获取list单元格错误不准确 [ 55%]

...,还不准确,但是log出的box单元格是同一个 localToGlobal: function (ele, flag) {      var point = new laya.maths.Point(ele.pivotX, ele.pivotY);     // flag = flag ? true : false;     return ele.localToGlobal(point, flag);  }   console.log(box); var targetXY = Utils.localToG...

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

2980. 附加脚本在最新的IDE下会报错 [ 55%]

...ollisionObject' of undefined 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 启动引擎报错 mPlugin.game_plugin_init(3); 用了ByteArray的zlib.min.js后报错 IDE通过.ui自动生成...

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