大约有 404 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0040 秒)
Laya_社区(355) Laya2.0_文档(29) Laya3.0_文档(9) Laya_示例(4) Laya2.0_示例(4) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
...我想在laya中直接写webGL,例如: //获取canvas元素 var canvas = document.getElementById('canvas'); //获取绘制二维上下文 var ctx = canvas.getContext('2d'); 这样是不是不行? 附件 : --> 2018-01-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180115
...gman • 2017-02-23 14:04 在对应的 html 中嵌入js代码: var btn = document.getElementById("myBtn"); // myBtn 为 AS3中 SimpleButton对象 if(plus){ btn.style.cursor = "pointer" } 通过 layaflash 编译时报没有 style 属性。请问:有其它方式可让按钮显...
来源: Laya_社区 发布时间: 20170221
...emo() { //初始化引擎 Laya.init(0, 0); //Browser.window后的$(Browser.document)为第三方库jquery的方法。 Browser.window.$(Browser.document).ready(function():void{ Browser.window.alert("jquery调用成功"); }); } } } ``` 编译运行后,我们可以看到弹窗成功,表明已经调...
来源: Laya2.0_文档 发布时间: 20210715
... to set the 'buffer' property on 'AudioBufferSourceNode'的问题 must set document class! 使用laya.Animation() 报错:Cannot set property 'roleAni' of undefined laya2.0打包安卓原生JAVA回调JS方法的时候,ReferenceError: xxxx类,原本定义好的却说是未定义 问题状态 最...
来源: Laya_社区 发布时间: 20171006
...件,附件与内容无关 相关链接 : https://developer.apple.com/documentation/storekit/skpayment/1506159-requestdata?language=objc 2019-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron ...
来源: Laya_社区 发布时间: 20190510
...我觉得你们的代码中可以考虑封装下面这段代码 var docElm=document.body; if (docElm.requestFullscreen){ docElm.requestFullscreen(); }else if (docElm.msRequestFullscreen){ docElm.msRequestFullscreen(); }else if (docElm.mozRequestFullScreen){ docElm.mozRequ...
来源: Laya_社区 发布时间: 20160126
...Error: Vector3 is not a constructor 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function undefined Uncaught TypeError: Cannot read property 'load' of null 问题状态 最新活动: 2019-10-24 13:42 浏览: 1387 关注: 4 人
来源: Laya_社区 发布时间: 20180403
...ted token illegal syntaxerror:unexpected token illegal at eval (native) at Document._downloadOK (apploader.js:6125:20) at apploader:js:6104:20 at filereader.filereader.onload (apploader.js:6683:47) 2018-01-12 0 0 分享 微博 QZONE 微信 steven chan 赞同来自: 解决了吗?我也遇到同样...
来源: Laya_社区 发布时间: 20180112
...format,for optimal performance reason,please refer to the official website document."); return null; } } if(!SoundManager._isActive || SoundManager._muted || SoundManager._soundMuted){ return null; } }; var tSound; if (!Browser.onMiniGame){ tSound=Laya.loader.getRes(url); } if (!soundClass)soundClas...
来源: Laya_社区 发布时间: 20181019
...: 1086 关注: 3 人 Life | Growing up • 2018-07-09 16:52 Laya.Browser.document.body.appendChild(div) 然后实例化为图标 是用这样的方式来的吗 我遇到的问题是要把图标放在一个弹层UI组件里面 Life | Growing up • 2018-07-09 16:53 错别字 图表 zsq • 2018-07-09...
来源: Laya_社区 发布时间: 20180706