大约有 393 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 引擎版本:1.7.19 描述: 使用对象池重复使用skeleton报错,但每次new Laya.Skeleton() 就没问题。 伪代码: const temp = new Laya.Templet(); temp.parseData(xxx, xxx, 0); // 从对象池...
来源: Laya_社区 发布时间: 20181120
LayaNative 0.9.6启动时报错 Rejecting re-init on previously-failed class java.lang.Class<vp>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse; 2019-07-22 18:03:33.840 27966-27966/com.lovegame.hk.hokbok I/art: at void com.android.webview.ch...
来源: Laya_社区 发布时间: 20190722
runtime运行报错! 今天根据教程设置runtime,发现怎么都会抛出异常,核对操作步骤,没发现什么问题。只好开始跟踪代码,发现laya.ui.js里代码如下: View.getCompInstance=function(json){ var runtime=json.props ? json.props.runtime :""; ...
来源: Laya_社区 发布时间: 20160913
Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 没有进行其他操作 Sp.graphics.drawTexture(_PreloadUrl._list.texture.brushworkCommon.texture, pointArr[index].x - this.DrawControl.radiu...
来源: Laya_社区 发布时间: 20201103
[LayaAir2]iOS设备,抖音app报错 requestAnimationFrame 使用的Layaair引擎2.13.1 [TMG] Object {message: "at requestAnimationFrame ... message: "at requestAnimationFrame callback err1" name: "USER_RUNTIME_ERROR" stack: "construct@[native code] at f(helium.js:4:269) at ?(helium.js:4:865)...
来源: Laya_社区 发布时间: 20240305
飞机大战地图滚动报错,麻烦看下? Laya.init(650, 316, Laya.WebGL); var bg1 = null; var bg2 = null; var box = null; function bg_rolling() { box = new laya.display.Sprite(); Laya.stage.addChild(box); bg1 = new laya.display.Sprite(); bg1.loadImage("res/bg1.png");...
来源: Laya_社区 发布时间: 20160721
app 的预加载问题 有几个疑惑请教下, 1.app dcc检查更新资源,一般项目里面会预加载资源 例如var resarray = [ {"url":"res/atlas/common.json","type":Loader.ATLAS}, ]; Laya.loader.load(resarray, Handler.create(this, this.preloadLoaded), Handler.create(this, this.onProgr...
来源: Laya_社区 发布时间: 20161204
mac 下翻译出来的顺序问题 //class laya.webgl.canvas.save.SaveBase var SaveBase=(function(){ function SaveBase(){ //this._valueName=null; //this._value=null; //this._dataObj=null; //this._newSubmit=false; } __class(SaveBase,'laya.webgl.canvas.save.SaveBase'); var __proto=SaveBase.prototype;...
来源: Laya_社区 发布时间: 20171104
as3版的Tween的Complete报错 有没有人和我遇到同样的问题? 我现在都不敢用Tween的Complete事件回调,都是用Laya.timer.once来代替 2017-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个...
来源: Laya_社区 发布时间: 20170327
绘制扇形时,可以改变绘制的方向吗,顺时针改逆时针 如题 添负的度数,也是顺时针的画 2018-07-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 6 个回复 顺圭 赞同来自: 顶起来,...
来源: Laya_社区 发布时间: 20180704