大约有 23 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0041 秒)
args.slice is not a function 2015-12-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 使用args特殊须知: 在AS3中args有array所有的属性和方法,翻译成js后,默...
来源: Laya_社区 发布时间: 20151204
args.slice is not a function 2015-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 使用args特殊须知在AS3中args有array所有的属性和方法,翻译成js后,默认...
来源: Laya_社区 发布时间: 20151202
...n () method public function on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type:String — 事件的类型。 caller:* — 事件侦...
来源: Laya_社区 发布时间: 20170308
... //////////////////////////////////// protected _onOpen(...args: any[]): void { super._onOpen(args); this.state_ = EConnectionState.eConnected; console.log("conect to 127.0.0.1"); } protected _onMessage(msg:...
来源: Laya_社区 发布时间: 20170602
...); } //侦听事件 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
...提交 2 个回复 hejianchun 赞同来自: 知道了,这样处理 let arg = [{ lPath: path, lType: type }]; if (type == AssetType.Type3D) { Laya.loader.create(path, Laya.Handler.create(this, this.OnAssetComplete, arg)); } private OnAssetComplete(arg: any): void { ...
来源: Laya_社区 发布时间: 20180316
...id=this._id; if (data==null) var result=this.method.apply(this.caller,this.args); else if (!this.args && !data.unshift)result=this.method.call(this.caller,data); else if (this.args)result=this.method.apply(this.caller,this.args.concat(data)); else result=this.method.apply(this.caller,data); ...
来源: Laya_社区 发布时间: 20170215
...的i值去给name赋值,在鼠标点击事件触发的时候,获取e.target.name即可 或者 在for循环的过程中为你的btn添加鼠标事件,通过传参的方式,为每个btn传递一个标识,譬如btn001,btn002,尾部数组为for下的i值,然后在...
来源: Laya_社区 发布时间: 20170425
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Args 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 LayaAir3D UnityPlugin ...
来源: Laya_社区 发布时间: 20180731
...events.Event.COMPLETE*/"complete",complete.caller,complete.method,complete.args); progress && info.on(/*laya.events.Event.PROGRESS*/"progress",progress.caller,progress.method,progress.args); LoaderManager._resMap=info; ...
来源: Laya_社区 发布时间: 20191122