大约有 210 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
Laya_社区(166) Laya3.0_文档(10) Laya2.0_api(9) laya_api(7) Laya3.0_api(7) Laya2.0_文档(7) Laya2.0_示例(2) Laya_示例(2)
....Scene.open("ui/p1/Page1.scene", false); break; case this.btn2: Laya.Scene.close("ui/p1/Page1.scene"); break; case this.btn3: Laya.Resource.destroyUnusedResources(); break; } }问题:特定操作会让界面变形,下图一是正常界面,下图2是变形界面。 1.png 2.png 重新步骤...
来源: Laya_社区 发布时间: 20190216
...常显示出来的bug! 如题,貌似是这样的,由于在第一次close之后没有将该对象的scaleX scaleY还原到初始状态,导致第二次show的时候,scaleX scaleY仍然为0,所以无法被弹出 2017-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20170316
... this.btn_start.visible=false; //监听界面是否关闭 this.once(Event.CLOSE,this,onClose); //加载剩余游戏资源、音乐,加载完成与加载进度回调方法 Laya.loader.load(assetArr,Handler.create(this,onComplete),Handler.create(this,onProgress)) } return GameStart(); })(); 2017-...
来源: Laya_社区 发布时间: 20171123
...然后点击删除,将对应选中的条目删除掉。 dialog如果在close动画播放完毕后删除 热更会自动删除更新旧的资源吗? 问题状态 最新活动: 2018-03-08 10:09 浏览: 739 关注: 2 人 ssmc • 2018-03-08 12:42 建议回答问题的交给同样使用引擎的人...
来源: Laya_社区 发布时间: 20180307
...不对 问题一:定义一个按钮,然后点击弹出dialog,然后close掉,再弹出dialog,发现第二次弹出不成功了。 在浏览器上或者ide里面调试都是没问题的,在LayaNative里面就出问题了。 demo已经在附件里(test21.zip),希望能解决。谢谢 ...
来源: Laya_社区 发布时间: 20181130
...per(); this.popupEffect = Laya.Handler.create(this, this.showEffect); this.closeEffect = Laya.Handler.create(this, this.hideEffect); this.btnClose.on(Laya.Event.CLICK, this, this.closeDialog); } //关闭 closeDialog(): void { this.close(); } //关闭效果 hideEffect(): void { Laya.Tween.to(this,{y:...
来源: Laya_社区 发布时间: 20190121
...addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_close.png'); let box:laya.physics.BoxCollider = this._boll1.addComponent(laya.physics.BoxCollider); box.height = 60; box.width = 28; //添加刚体 this._boll1.addComponent(Laya.RigidBody); //创建挡板 this.createPanel(); ...
来源: Laya_社区 发布时间: 20190428
...值。*/ static MESSAGE: string; /** 定义 close 事件对象的 type 属性值。*/ static CLOSE: string; /** 定义 keydown 事件对象的 type 属性值。*/ static KEY_DOWN: string; /** 定义 keypress ...
来源: Laya_社区 发布时间: 20170601
...撞无法触发OnTriggerEnter、OnTriggerStay、OnTriggerExit的bug Event.CLOSE不触发 Event触发不了 无法触发浏览器文件上传框 3d物理引擎有碰撞不触发onCollisionEnter ios中没有触发事件前使用playSound没有声音 问题状态 最新活动: 2017-04-11 14:25 浏览: ...
来源: Laya_社区 发布时间: 20170410
...Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); private openHandler(event: any = null): void { //正确建立连接; this.gameInfo.info("Connected !"); // ...
来源: Laya_社区 发布时间: 20180510