大约有 432 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0108 秒)
关于类中方法的调用 var FactionListItem = (function(_super){ function FactionListItem(data) { FactionListItem.super(this); this.updateLvAndPeopleCount(); this.updateLvAndPeopleCount = function(){ //----- } ...
来源: Laya_社区 发布时间: 20171127
请问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
...s.bg2 = null; //初始化父类 BackGround.__super.call(this); this.init(); } //注册类 BackGround Laya.class(BackGround, "BackGround", laya.display.Sprite); 问题: 1.Laya.class(BackGround, "BackGround", laya.display.Sprite); ...
来源: Laya_社区 发布时间: 20170311
...CollideWith = Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER) { super(collisionGroup, canCollideWith); this._enableProcessCollisions = false; } _addToSimulation() { this._simulation._addPhysicsCollider(this, this._collisionGroup, this._canCollideWith); ...
来源: Laya_社区 发布时间: 20200505
Uncaught TypeError: Game.super is not a function var Game = (function(_super){ function Game() { Game.super(this); } Laya.ClassUtils(Game,"Game",_super) return Game; })(ui.GameUI) 2017-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20171012
....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
...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
ts编译为js后 var AudioCommand = (function(_super) { function AudioCommand() { AudioCommand.__super.call(this); } __class(AudioCommand, 'model.resource.audio.controller.AudioCommand', _super); 1.AudioCommand.__super.call(this); 2.__class(AudioCommand, 'model.resource.audio.controller.AudioComman...
来源: Laya_社区 发布时间: 20180313
...2 个回复 cuixueying 赞同来自: gls_laybox var IndexView = (function(_super){ this.angle; this.draw; this.box; this.circle; function IndexView(){ IndexView.super(this); this.angle = 0; Laya.timer.loop(200,this,this.loadProgress) var Sprite = Laya.Sprite; this.box = new Sprite(); this.box.cacheA...
来源: Laya_社区 发布时间: 20170807
...用 DiaLog Close 关闭方法 /** * Start 界面 */ var Start = (function(_super){ function Start(){ Start.super(this); // 注册点击开始事件 this.beginBtn.on(Laya.Event.CLICK,this,this.onBeginClick); // 注册跳转事件 this.linkMsleanBtn.on(Laya.Event.CLICK,this,this.onLinkClick); // 初...
来源: Laya_社区 发布时间: 20180130