大约有 258 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0127 秒)
...t AppUtils=Laya.PlatformClass.createClass("demo.Utils"); let id = AppUtils.call("fun"); 2017-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: jiye 对的,不在主线程...
来源: Laya_社区 发布时间: 20171026
...map getBitmap() { } 可以在laya ts代码中获取到么 var byt = bridge.call("getBitmap"); 2025-09-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 188*****945 赞同来自: 已解决 2025-09-29 0 2 分享 微...
来源: Laya_社区 发布时间: 20250917
.../ var StartPage=(function(_super){ function StartPage(){ StartPage.__super.call(this); } Laya.class(StartPage,'view.StartPage',_super); return StartPage; })(StartPageUI) LayaSample: var LayaSample = (function(){ (function(){ Laya.init(667,375); Laya.stage.bgColor = "#ffcccc"; Laya.loader.load("res...
来源: Laya_社区 发布时间: 20181029
..."]; // 设置数据 let func = Laya.Loader.prototype["parsePLFData"]; func.call(Laya.Loader, data); // 要先加载一遍,才能使用。基本底层都是调用的loader,那就不用处理了。 Laya.loader.load("res/aaa.scene", Laya.Handler.create(null, (content)=>{console.log(content)})); ...
来源: Laya_社区 发布时间: 20190425
...{this.url}`); return; } return window["Laya.HTMLAudioChannel.onPlayAgain"].call(this); } 你可以试试暂时重写这个方法 等修复了再注释调 我们项目打包以后也遇到声音播放的问题 2025-10-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20251014
...js:34 (anonymous) function CustomMaterial() { CustomMaterial.__super.call(this); this.setShaderName("CustomShader"); } Laya.class(CustomMaterial, "CustomMaterial", Laya.BaseMaterial); CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.NORMALTEXTURE = 2; CustomMaterial.ALPHATESTVALUE...
来源: Laya_社区 发布时间: 20170526
... (_super) { function HttpRequestExtension() { HttpRequestExtension.__super.call(this); } Laya.class(HttpRequestExtension, 'HttpRequestExtension', _super); var __proto = HttpRequestExtension.prototype; __proto.send = function (url, data, method, responseType, headers) { (method === void 0) && (method...
来源: Laya2.0_文档 发布时间: 20210714
....dom.HTMLDivElement对象 设置 style.wordWrap = false; 会导致 Maximum call stack size exceeded异常! 2017-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 answerHom 赞同来自: 2017-06-15 0 0 分...
来源: Laya_社区 发布时间: 20170615
...接 提交 1 个回复 cuixueying 赞同来自: 你试下LoginView.__super.call(this) , 注意,是2个下划线 2017-03-17 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jonahzheng 相关问题 两个对象new了一个相同的...
来源: Laya_社区 发布时间: 20170317
...中3d资源贴图出现Failed to load 编译报错 出错了:FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 请教专家:curl_easy_perform failed和JCFileRes::onDownloadError file error WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame heade...
来源: Laya_社区 发布时间: 20171031