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

大约有 1,246 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)

1131. 安卓App 切换后台 声音还在播放的问题解决了么 [ 51%]

...14 11:25 浏览: 1959 关注: 4 人 松 • 2018-07-28 16:21 Laya.stage.on(Event.VISIBILITY_CHANGE,this,pause); 这个消息没触发,拿不到进入后台状态 所以声音没法关 Laya_Aaron • 2018-07-28 16:28 这个不是引擎能解决的问题 松 • 2018-07-28 16:31 @Laya_Aaron:哦 那...

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

1132. 真是醉了这个问题都有人问过了 也没见有答复的Uncaught TypeError: Cannot set property 'roleAni' of undefined [ 51%]

...自定义shader,有很多问题,帮忙看一下 graphics alpha 问题 event自定义事件的问题 问题状态 最新活动: 2019-03-24 15:02 浏览: 905 关注: 2 人

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

1133. laya.html.dom.HTMLDivElement_API3.0 [ 51%]

...ns customRender destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_height get_scaleX get_scaleY get_transform get...

来源: Laya3.0_api 发布时间: 20231102

1134. 使用了destroy()之后,还需要手动移除侦听事件和引用吗? [ 51%]

...标滚轮滚动事件 为什么给Sprite容器添加点击事件没反应 event自定义事件的问题 问题状态 最新活动: 2017-09-14 14:57 浏览: 786 关注: 2 人

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

1135. 图片居中的问题 [ 51%]

... new Laya.Sprite(); bg.loadImage("res/bg-480x720.jpg"); Laya.stage.on(Laya.Event.RESIZE,this,onResize);   function onResize() {     var scale,scaleX,scaleY;     scaleX = Browser.clientWidth/480;     scaleY = Browser.clientHeight/720;     scale = scaleX > scaleY ? scaleX : scaleY;     b...

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

1136. 安卓app加载场景错误 [ 51%]

...6857:8) at ResInfo.onLoaded (http://192.167.0.100/h5/layawe ... 134:61) at EventHandler.__proto.runWith (http://192.167.0.100/h5/layawe ... 716:59) at ResInfo.__proto.event (http://192.167.0.100/h5/layawe ... 490:28) at LoaderManager.__proto._endLoad (http://192.167.0.100/h5/layawe ... 291:11) at Lo...

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

1137. 使用2D地图3D人物混合进行游戏开发(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 51%]

... > 放置猴子 ```typescript //监听一次点击事件 Laya.stage.once(Event.MOUSE_DOWN,this,function ():void { scene.addChild(layaMonkey); _layaMonkey = layaMonkey; //设置缩放 var tmpLocalScale:Vector3 = layaMonkey.transform.localScale; tmpLocalScale.setValue(0.3, 0.3, 0.3); layaMonkey.transf...

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

1138. frameLoop 方法第4个参数是回调参数,我设置了之后,在第三个参数的回调函数中获取不到 [ 51%]

...方法时失败 分享:LayaAir下如何获取图集下的小图资源? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2018-01-31 16:49 浏览: 856 关注: 2 人

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

1139. 安装layaair2-cmd一直失败 [ 51%]

...bin-wrapper\node_modules\got\index.js:182:22)     at Object.onceWrapper (events.js:300:26)     at ClientRequest.emit (events.js:210:5)     at TLSSocket.socketErrorListener (_http_client.js:406:9)     at TLSSocket.emit (events.js:210:5)     at emitErrorNT (internal/streams/destroy.js:92:8) ...

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

1140. Sprite设置mask属性为什么显示是透明的?怎样才能显示正常? [ 51%]

...awRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); mask.on(Laya.Event.CLICK,this,chick);   function chick(){ mask.destroy(); gameContainer.destroy(); }   gameContainer.mask=mask; Laya.stage.addChild(gameContainer);  })();  })(); 附件 : --> 2020-06-03 添加评论 免费帖 --> 分...

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