大约有 73 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0045 秒)
LayaNative appLoader.js中偶发_targets为undefined的问题 开发的游戏使用LayaNative2.7打包发布后根据JS异常报警器上报数据发现有用户会偶尔出现附件图中所示报错,经查报错内容来至于LayaNative配套的appLoader.js中,搜索“_targets”后发现错...
来源: Laya_社区 发布时间: 20200720
ConchJNI.callConchJSFunction(arg0, arg1, arg2) 这个能用吗?要怎么用呢? ConchJNI.callConchJSFunction(arg0, arg1, arg2) 这个能用吗?要怎么用呢? 2018-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180109
args.slice is not a function 2015-12-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 使用args特殊须知: 在AS3中args有array所有的属性和方法,翻译成js后,默...
来源: Laya_社区 发布时间: 20151204
...法,具体行见截图 RenderContext类:this._drawRect=function(x,y,args){ var ctx=this.ctx; if (args[4] !=null){ ctx.fillStyle=args[4]; ctx.fillRect(x+args[0],y+args[...
来源: Laya_社区 发布时间: 20161210
args.slice is not a function 2015-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 使用args特殊须知在AS3中args有array所有的属性和方法,翻译成js后,默认...
来源: Laya_社区 发布时间: 20151202
...: any){ Laya.loader.load("res/" + srcName,new Laya.Handler(caller,function(arg: any){ if(arg){ RES.groups = arg.groups; RES.resources = arg.resources; RES.getInstance().event(RES.ONLOADEDRESJSON,arg); }else{ RES.getInstance().event(RES.ONLOADERRORRESJSON,arg); } })) } /** * groupName 资源组名称...
来源: Laya_社区 发布时间: 20161011
... this.sp.graphics._saveToCmd(this.test1,arr); } test1(x,y,args):void { console.log("args[0]"+args[0]+",args[1]"+args[1]+",args[2]"+args[2]) var sp:Laya.Sprite = args[0]; //sp.graphics.clear(); var ctx=Laya.Render._context.ctx...
来源: Laya_社区 发布时间: 20170316
...e: boolean, repeat: boolean, delay: number, caller: any, method: Function, args: Array<any>, coverBefore: boolean): void; /** * 定时执行一次。 * @param delay 延迟时间(单位为毫秒)。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 * @param args 回调...
来源: Laya_社区 发布时间: 20171109
微信工具Js的Function问题 var args = ["a","b","return a-b"]; var f = new Function(args[0], args[1], args[2]); var t = Function.apply(null, args); console.log( f(1,3) ); console.log( t(1,3) ); 这两个函数在Layabox开发时的目的都是生成一个不确定参数的函数,但导出到...
来源: Laya_社区 发布时间: 20181031
...); } //侦听事件 Dispatcher.AddNotice = function(InName,caller,listener,arg){ //监听事件 Dispatcher.eventDispatcher.on(InName,caller,listener,(arg==null)?null:([arg])); console.log("arg-->"+[arg]); } return Dispatcher; })(Laya.EventDispatcher); EventDispatcher接收不到参数 派...
来源: Laya_社区 发布时间: 20170809