大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0076 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...: 2017-08-21 19:45 浏览: 870 关注: 2 人 asdf131 • 2017-08-22 20:08 this.txtMapName.text = "地图:"+name; 用语言包的话的分两次赋值? this.txtMapName.text = "地图:"; this.txtMapName.text = this.txtMapName.text + name;
来源: Laya_社区 发布时间: 20170821
回调函数... constructor(){ Laya.loader.load(this.skins, Handler.create(this, this.onUIAssetsLoaded)); } aaa() { } function onUIAssetsLoaded( this.aaa();//为什么回调函数不能调用,undefined } 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20170626
...法 contact.getHitInfo = function (): any { var manifold: any = new this.box2d.b2WorldManifold(); ... } 这里的this不是Physics类的当前对象,this.box2d undefined 附件 : --> 2020-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20200327
...有移除?是为什么? function Controller() { Controller.super(this); this.btn.on(Event.CLICK,this,function(){ this.destroy(); }) } Laya.class(Controller, "Controller", stUI); 2018-08-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20180831
图集动画播放问题 this.ded.play(0, false); this.ded.on(Laya.Event.COMPLETE, this, this.onHitOver); 播放完 "ded" 动画后, 有时候会出现延迟,没有立即运行onHitOver()方法,有什么解决办法吗? 2018-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20181101
Tab组件如何通过js控制选中 this._tab._selectedIndex = 0 _tab为在UI编辑器下定义的var值 这样操作不能实现么 2017-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞...
来源: Laya_社区 发布时间: 20171214
... 上面的length没考虑换行符,但下面又有句这样的代码:this._text.substring(startIndex, charIndex) 其中this._text却是有换行符的字符串,这样返回的结果就不对了 我建议的改动很可能不是最佳的,毕竟对牵连的东西了解太少了,目...
来源: Laya_社区 发布时间: 20211009
...就连www.baidu.com,这个加头后,为啥还连不上, 看代码-> this.hr=new HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError...
来源: Laya_社区 发布时间: 20151028
...; xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.once(Event.PROGRESS,this,processHandler); var sendData = {account:"aaa",password:"bbb"} xhr.send("http://xxx/login", JSON.stringify(sendData), "post", "jso...
来源: Laya_社区 发布时间: 20180824
.../LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(3, 3, 3); //转换2D屏幕坐标系统到3D正交投影下的坐标系统 camera.convertScreenCoordToOrthographicCoord(pos, _translate); layaMonkey.transf...
来源: Laya_示例 发布时间: 20251219