• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,539 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0076 秒)

2051. 小游戏的后台切换事件名是什么?? [ 53%]

...戏返回手机主界面,然后再打开,这个事件是什么? Laya.Event.Foucs 没有被触发 在哪里可以查到微信小游戏的所有事件呢?谢谢大家 2018-07-26 添加评论 已悬赏5元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

来源: Laya_社区 发布时间: 20180726

2052. button的disable = true设置,帧数瞬间下降问题 [ 53%]

...问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 event自定义事件的问题 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 问题状态 最新活动: 2017-11-02 15:18 浏览: 893 关注: 3 人

来源: Laya_社区 发布时间: 20171102

2053. dialog.removeSelf is not a function [ 53%]

...laneGameInfoDialogUI;。。。(关闭按钮)this.ui.ibtn_close.on(Laya.Event.CLICK,this,this.ui.close);。。。(点击之后)Uncaught TypeError: dialog.removeSelf is not a function....求助大神谢谢啦~~~ 2017-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

来源: Laya_社区 发布时间: 20170418

2054. 学习官方视频教程中飞机大战游戏出现的问题!! [ 53%]

...   this.addChild(this.playAnim);             this.playAnim.on(Laya.Event.COMPLETE,this,this.onPlayComplete);         } onMouseMove():void{         //根据鼠标位移主角方法         this.hero.pos(Laya.stage.mouseX,Laya.stage.mouseY);     }     2018-05-03 0 0 分享 微...

来源: Laya_社区 发布时间: 20180502

2055. hitArea用法问题 [ 53%]

...hitArea = closeRect;  // closeBtn 为 Laya.Button 实例 this.closeBtn.on(Event.CLICK,this,this.closeWin); private closeWin():void {     console.log("the window has closed..."); } 2017-09-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

来源: Laya_社区 发布时间: 20170920

2056. 可视遮罩层Layer(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 53%]

...件 每一次点击切换一个显示层 this.changeActionButton.on(Laya.Event.CLICK, this, function(){ //清除所有图层 this.camera.removeAllLayers(); //计数自加一 this.layerIndex ++; //设置可视图层 this.camera.addLayer(this.layerIndex%4 + 1); //将地板图层加入,地板不参...

来源: Laya2.0_文档 发布时间: 20210715

2057. 使用 addChild 加载界面后,绑定事件报错 [ 53%]

...uctor() {         super();          this.btnStart.on(Laya.Event.CLICK, this, this.startGame);     }      startGame(): void {         //Laya.Scene.open("GameView.scene");         if (!Main.gameView) {             Main.gameView = new GameView();  ...

来源: Laya_社区 发布时间: 20190510

2058. 关于TiledMap层级中GridSprite精灵的自定义属性的获取TS [ 53%]

...参数 如何获取图片每个像素点的RGB? 关于zOrder层级问题 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2019-11-07 17:07 浏览: 910 关注: 1 人

来源: Laya_社区 发布时间: 20191107

2059. 可视遮罩层Layer(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 53%]

...件 每一次点击切换一个显示层 this.changeActionButton.on(Laya.Event.CLICK, this, function():void { //清除所有图层 this.camera.removeAllLayers(); //计数自加一 this.layerIndex ++; //设置可视图层 this.camera.addLayer(this.layerIndex%4 + 1); //将地板图层加入,地板...

来源: Laya2.0_文档 发布时间: 20210715

2060. 无法对载入的材质操作。sharedMaterials的length为0 [ 53%]

...的  2.你加载的方式不对, antaShoes.meshFilter.sharedMesh.once(Event.LOADED,this,function(){})     你那个回调事件,是场景加载完成的回调事件。      2017-03-14 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

来源: Laya_社区 发布时间: 20170314