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

大约有 65 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0031 秒)

51. When asking questions, remember these two tips: [ 61%]

When asking questions, remember these two tips: When asking questions, remember these two tips: Instead of asking “how to do X in LayaBox”, ask “how to solve Y in LayaBox”. In other words, don’t ask how to implement a particular solution, instead describe the problem at hand. Stating the ...

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

52. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 61%]

...了吗 扬了二正 • 2018-10-11 20:25 wxtool.postMsgToOpenDataContext({ state: 'init', openId: GlobalData.getInstance().openId }); this.rank = new Laya.Sprite(); this.box_rank.addChild(this.rank); Laya.Browser.window.sharedCanvas.width = this.box_rank.width; Laya.Browser.window.sharedCanvas.heigh...

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

53. 用raycast选取实体,hitresult始终是false [ 59%]

...除或者设置visible=false,运用在3d场景中应该怎样实现? state.clip.islooping = false;无法再次播放动画。 islooping的false和true的切换 3D物体active从false设置为true后,Script3D的onUpdate会重复执行 问题状态 最新活动: 2019-12-19 14:59 浏览: 1002 关...

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

54. 请问如何给所有按钮点击事件增加一个音效 [ 57%]

...return;             }             !_selected && (state = stateMap[e.type]);         } 2017-10-20 1 0 分享 微博 QZONE 微信 l329303161 赞同来自: Laya.stage.on('click', this, ()=>{     Laya.SoundManager.playSound("../bin/wav/click_button.mp3"); }) 找到...

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

55. 几个相同UI的对象,调用其中一个对象的方法,总是走进最后一个对象的方法里 [ 57%]

...更新的最后一个对象: LayaSample.index.baijialeHome.getChildAt(0).state({homeStatus:1},20) 2018-07-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 信息提供太少,多提供...

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

56. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 56%]

...同来自: var xmlString="<data>"+ "<dir name='shi' num='10000' state='已集结' time_pro='' isOpen='true'>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok...

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

57. 两个问题都关于LayaAir的ios真机 [ 55%]

...件我稍微改了下,为了实现按下的时候有个变暗的效果 statenum是1的按钮, /** * 对象的 <code>Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UP、Event.CLICK</code> 事件侦听处理函数。 * @param e Event 对象。 */ protected function...

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

58. 导出的3D资源加载报错 [ 53%]

... 导出的资源,在加载出错。   package {     import com.core.state.StateMachine;     import com.gameLogic.GameConfig;     import com.gameLogic.gameState.GameLoadingState;     import com.gameLogic.gameState.GameMainState;     import com.gameLogic.gameState.GameState;  ...

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

59. socket通讯返回数据 [ 53%]

...ect {} Error: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.     at Socket.__proto.send (file:///K:/laya/mylaya12/bin/libs/laya.core.js:13509:16)     at new Game (file:///K:/laya/mylaya12/bin/js/LayaSample.js:17:21)     at file:///K:/laya/mylaya12/bin/js/LayaSample.js:45:1...

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

60. layaBOX实时语音聊天与微信登陆接口分享 [ 51%]

...ODE YIM.WXGetCode(appid,"http://app.aliiw.com/redirect","snsapi_userinfo","STATE",function(err,data){ res.redirect(data); }); }); router.get('/redirect',function(req,res,next){ var code = req.query.code; var apiinfo = { appid: "12313", secret: "123132" } //回调网址返回的信息 YIM.WXGetAccess...

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