大约有 488 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0041 秒)
...错的功能。 ERROR:invalid property id interface:function(name,_super){ Laya.__package(name,{}); var ins=Laya.__internals; var a=ins[name]=ins[name] || {self:name}; if(_super) { var supers=_super.split(','); a.extend=[]; for(var i=0;i<supers.length;i++){ var nm=supers[i]; ins[nm]=ins[n...
来源: Laya_社区 发布时间: 20180806
请问UI之间的场景切换要怎么写 var sg_sign = (function(_super){ function sg_sign(){ sg_sign.super(this); this.btn_wxsign.on(Laya.Event.CLICK,this,this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundMan...
来源: Laya_社区 发布时间: 20170725
关于类中方法的调用 var FactionListItem = (function(_super){ function FactionListItem(data) { FactionListItem.super(this); this.updateLvAndPeopleCount(); this.updateLvAndPeopleCount = function(){ //----- } ...
来源: Laya_社区 发布时间: 20171127
...被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 super1013 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? unity导...
来源: Laya_社区 发布时间: 20180103
...: 与内容相关的链接 提交 3 个回复 gls_laybox 赞同来自: t2.super(this);也是报错的,说没有构造方法 2018-01-04 0 0 分享 微博 QZONE 微信 qian 赞同来自: 建议参考https://ask.layabox.com/question/811 2018-01-04 0 6 分享 微博 QZONE 微信 gls_laybox 赞同来...
来源: Laya_社区 发布时间: 20180104
...aya技术留意下; 解决方案: 需要把_cells和_offset放置到super.call()前 附件 : --> 2018-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: Calvin ok,是编译过去...
来源: Laya_社区 发布时间: 20180810
....7.15这是我在编辑模式发布的一个对话框var testUI=(function(_super){ function testUI(){ testUI.__super.call(this); } CLASS$(testUI,'ui.testUI',_super); var __proto__=testUI.prototype; __proto__.createChildren=function(){ laya.ui.Component.prototype.createChildren.call(this); this.creat...
来源: Laya_社区 发布时间: 20180325
...d var _proMask:Sprite; public function HProgressSlider(skin:String=null) { super(skin); } override protected function initialize():void{ super.initialize(); _proMask = new Sprite(); _proMask.graphics.drawRect(0, 0, _progress.width, _progress.height); _proMask.scaleX = 0; _progress.mask = _proMask; _...
来源: Laya_社区 发布时间: 20170327
...标始终是00 而在LAYA AS3环境里却是可以重写的 因为AS3可以super.x super.y 打个比方 假设在LAYA TS 里这么写 class XXX extends Sprite { public set x(value:number) { this._x = value; } public get x():number { return this._x; } } 这样写在WEB环境下固然可行 但是却...
来源: Laya_社区 发布时间: 20180227
...eLbl:Laya.Label; public tipLbll:Laya.Label; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("test/TestScene"); } } REG("ui.test.TestSceneUI",TestSceneUI); } 这是我从新建例子里面复制的,但是我自己新建个项目,在ui界...
来源: Laya_社区 发布时间: 20190402