大约有 803 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
...f8.js:1 8The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. <URL> Scene.ts:402 Error loading Loading.ls: Error: unknown type 'xmaaYG8AQ1yC07pr_JvyPA' (anonymous) @ Scene.ts:402 Promise.then (async) load @ Scene.ts:395 open @ Scene.ts:44...
来源: Laya_社区 发布时间: 20240724
...L; Laya.stage.bgColor = "#232628"; Laya.loader.load("res/logo.png",Handler.create(this,onLoaded)); } private function onLoaded():void { img=new Image(); img.skin="res/logo.png"; Laya.stage.addChild(img); Laya.timer.once(500,this,onClick); //Laya.stage.on(Event.CLICK,this,onClick); } private function...
来源: Laya_社区 发布时间: 20170704
...script var earth = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere())) as Laya.MeshSprite3D; earth.transform.position = new Laya.Vector3(0, 0, 0); //创建EffectMaterial材质 var material = new Laya.EffectMaterial(); //加载地球贴图 Laya.Texture2D.load("res/threeDimen/text...
来源: Laya2.0_文档 发布时间: 20210714
...件无法加载 Laya.loader.load("lang/zh_CN/scripts/base.json", Handler.create(this, this.onLoaded), null, Loader.JSON); 加载这个json文件 没办法加载进来 2017-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...
来源: Laya_社区 发布时间: 20171213
...es/models/item/item.lh", clas: Laya.Sprite3D, priority: 1 } ]; Laya.loader.create(resource, Laya.Handler.create(this, onComplete), Laya.Handler.create(this, onLoading)); } function onLoading(progress){ console.log("加载进度: " + progress); } function onComplete(){ console.log('onComplete'); wx.s...
来源: Laya_社区 发布时间: 20180426
... 对于匿名函数的编译 this不会被替换为_$this 举例 Handler.create(this,function(){this.name="test"}); 这个函数里边的this不会被替换为_$this 2017-11-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20171122
...看一下这种遮罩bar的进度条设了遮罩不起作用 Laya.loader.create 进度回调函数执行两次 加载页进度条 DCC怎么可以手动更新,然后获取进度呢? 为什么加载进度回调只调用了一次。下面有代码,求解答 问题状态 最新活动: 2018-03-21 15:...
来源: Laya_社区 发布时间: 20180321
...用 Laya.MiniAdpter.downLoadFile缓存文件之后。再调用Laya.loader.create,不会自动去读取缓存文件 laya支持批处理调用js压缩吗? 问题状态 最新活动: 2017-01-18 23:25 浏览: 1156 关注: 2 人 ohkei • 2017-07-22 22:43 用原生select标签盖到laya canvas上?控...
来源: Laya_社区 发布时间: 20170118
...时,发现一个奇怪的问题: Laya.loader.load(resUrl, Laya.Handler.create(this, function (res) { //解析题目 log(res); //放置方块 }), null, Laya.Loader.JSON); } 代码运行到这老是报错,报错原因是有不认识的字符,我想了下,resUrl指向的是本地的一...
来源: Laya_社区 发布时间: 20200311
...加载不了。 Laya.loader.load(["res/atlas/img/hall.json"],Laya.Handler.create(this, onLoaded),null,Laya.Loader.ATLAS);无法加载。。。怎么回事 2017-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ...
来源: Laya_社区 发布时间: 20170412