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

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

51. 射线检测报错,outHitInfo.sprite3D=null; [ 63%]

...og("当前摄像机的名字是:" + this.camera.name); }  public _start(state:Laya.RenderState):void{ this.ray = new Laya.Ray(Laya.Vector3.ZERO,Laya.Vector3.ZERO); this.phasorSprite3D = new Laya.PhasorSpriter3D(); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDown); }  private onMouseDown...

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

52. 安卓下 socket 连接不稳定【加急】 [ 62%]

...ing in Automatic mode GameXtend is currently running in no_save Save power state.  my.app is currently running with GameXtend, with PS parameter = 1. , Ice parameter = 0. PS parameter source is PowerXtend configuration PowerXtend touch feature is not active  还会一直报这个信息   2017-12-...

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

53. 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

54. 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

55. 用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

56. 请问如何给所有按钮点击事件增加一个音效 [ 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

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

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

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

58. 使用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

59. 两个问题都关于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

60. 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