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

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

21. LayaAir2.0里不需要Laya.stage.add了,只需要用Laya.Scene.open就可以了? [ 82%]

...yaAir2.0 从u3d到处材质动画无法播放 layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 LAYAAIR2.0不生成VIEW页面相应的TS文件 LayaAir2.0物理引擎类库缺少matter.js和LayaRender.js 怎么用 LayaAir2.0 制作并发布“支付宝小程序...

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

22. laya.events.Event [ 82%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames EventProperties | Methods | Constants Packagelaya.eventsClasspublic dynamic class EventInheritanceEvent Object Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器...

来源: Laya2.0_api 发布时间: 20190513

23. laya.events.Event [ 81%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames EventProperties | Methods | Constants Packagelaya.eventsClasspublic dynamic class EventInheritanceEvent ObjectSubclasses UIEvent Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递...

来源: laya_api 发布时间: 20170929

24. Laya.Scene.open传递的param,要如何获取,注释说在onOpened中,如果拿到onOpened [ 81%]

...何获取当前所有动画名称呢?或者所有的AnimationClip呢? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 tree mouseHandler 怎么获取条目 如何获取图片每个像素点的RGB? 怎么获取对象的坐标 怎样获取浏览器地址传过来的GET参数 分...

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

25. socket通讯返回数据 [ 81%]

...接 this.socket.connectByUrl("ws://localhost:8899"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); // this.s...

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

26. laya.ui.UIEvent [ 81%]

...DocumentationAll Packages | All Classes | Index | Frames No Frames UIEventProperties | Methods | Constants Packagelaya.uiClasspublic class UIEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inhe...

来源: Laya2.0_api 发布时间: 20190513

27. laya.ui.UIEvent [ 80%]

...DocumentationAll Packages | All Classes | Index | Frames No Frames UIEventProperties | Methods | Constants Packagelaya.uiClasspublic class UIEventInheritanceUIEvent Event Object UIEvent 类用来定义UI组件类的事件类型。 Public Properties Hide Inherited Public Properties Show Inhe...

来源: laya_api 发布时间: 20170929

28. 注册函数里面 事件侦听函数的执行域 的详解 [ 79%]

注册函数里面 事件侦听函数的执行域 的详解 sp.on(Event.CLICK, this, fun) 有时候是this,有时候是null 到底怎么区分这个 2016-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

29. 事件函数作用域问题 [ 78%]

事件函数作用域问题 1. this.btn_Login.on(Laya.Event.CLICK, null, ()=>{ if (this.loginDig) { this.loginDig.removeSelf(); this.loginDig.destroy(); } 2.this.btn_ok.on(Laya.Event.RIGHT_CLICK, this, this.OnBut_Open); OnBut_Open() : void { this.removeSelf(); this.destroy(); } 就是这两个...

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

30. 如何与服务端建立连接 [ 78%]

...t + ":" + port; let socket:Laya.Socket = new Laya.Socket(); socket.on(Laya.Event.OPEN,this,()=>{ console.log("connect success!"); }) socket.connectByUrl(url);点此查看Socket官方示例 2018-05-15 1 0 分享 微博 QZONE 微信 rabbit 赞同来自: 只要前端的,还是要前端和后端代...

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