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

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

3061. LayaNative 0.9.2 如果运行时抛出错误会黑屏 [ 55%]

...系统版本是最新的   都是使用了错误捕获:window.onerror = function () {};   但是0.9.1不支持错误捕获,会将错误弹窗出来。这个问题很严重,请尽快修复! 2017-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

3062. 3D打包app后,安装打开会报错 [ 55%]

...动生成的ui代码报错 导微信小程序报错window.focus is not a function 用了ByteArray的zlib.min.js后报错 小游戏项目 加载有中文的json文件 报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 打包出来后的APP...

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

3063. 用微信的方法获取openID和会话秘钥的方法 [ 55%]

...+secret+"&js_code="+code+"&grant_type=authorization_code", success:function(res) { console.log("获取到openid为"+res.data.openid) } }) 2018-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复   赞...

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

3064. laya的摇一摇发布到微信小游戏上无效 [ 55%]

...nce.start(5, 500); Shake.instance.on(Event.CHANGE, this, onShake); private function onShake():void { console.log("摇晃了!!!!"); }这段代码发布到微信小游戏上并无效果 请问是什么原因呢 2018-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

3065. addToTransparentRenderQueue 中 'add' of undefined [ 55%]

...ya2.1.0 JS调用Java PlatformClass undefined api readFile success callback function undefined Cannot read property 'call' of undefined 生成微信小游戏时各种"undefined"(已解决) 运行编译 报错Cannot read property 'on' of undefined Cannot read property 'call' of undefined 问题状态 ...

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

3066. [求助]无法使用loader预先加载 [ 55%]

...lse), Loader.TEXT); Laya.loader.on(Event.ERROR, this, onError);   private function onAssetLoaded(texture:Texture):void{             //console.log("111: ");                          txt.visible=false;             title = new Sprite();         ...

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

3067. laya.components.KeyframeNodeList2D_API3.0 [ 55%]

...eList2D count getNodeByIndex setNodeByIndex Legend Object literal Variable Function Type alias Class Class with type parameter Method Accessor Enumeration Interface

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

3068. UI-Tree [ 55%]

...t laya.utils.Utils; import laya.webgl.WebGL; public class UI_Tree { public function UI_Tree() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage...

来源: Laya2.0_示例 发布时间: 20260303

3069. graphics绘制报错 [ 55%]

..."./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.graphics.drawTriangles( tex, 100, 0, new Float32Array([0,0,1,0,1,1,0,1]), new Float32Array([0,0,1,0,1,1,0,1]), new Uint1...

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

3070. 3D移动定时器没方法怎么回事。。。 [ 55%]

...以。。。 var vect =new Laya.Vector3(0.1,0,0); Laya.timer.loop(100,this,function(){ fish.transform.Position(vect,true,false); });   我想让他定时往左往右走。。。或者有个加速度。。。。JS代码在laya里。。。名字和使用方法都变了。。。 附件 : --> 2017-09-1...

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