大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0089 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...报错 window is not defined 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2019-08-26 16:18 浏览: 761 关注: 1 人
来源: Laya_社区 发布时间: 20190826
...置name ,然后通过 Sprite.on(Event.CLICK,this,yfqian_GameUi); public function yfqian_GameUi(e:Event):void{ trace("Sprite:",e.target.name) }
来源: Laya_社区 发布时间: 20180627
....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
...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
...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
... 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
...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
... 监听下载过程中的 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
...,还不准确,但是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
...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