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

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

201. 请问Laya如果获取Laya.Event.CLICK时间的点击坐标? [ 89%]

请问Laya如果获取Laya.Event.CLICK时间的点击坐标? // 设置用户点击事件 function setUserClick(){ var clickRect = new Laya.Sprite(); clickRect.graphics.drawRect( 0, 0, Laya.stage.width, Laya.stage.height-100 ); clickRect.pos( 0, 0 ); clickRect.size( Laya.stage.width, Laya.stage.he...

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

202. [LayaAirIDE3]Laya.loader.on(Event.ERROR, this, this.onError) 无法侦听到加载资源失败 [ 89%]

[LayaAirIDE3]Laya.loader.on(Event.ERROR, this, this.onError) 无法侦听到加载资源失败 laya3 加载资源后使用 Laya.loader.on(Event.ERROR, this, this.onError) 无法获得加载失败响应,根据示例里的错误处理和进度操作也得不到错误的响应,laya2里是可以的...

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

203. laya.utils.TimeLine_API3.0 [ 89%]

... TimeLine TimeLine 是一个用来创建时间轴动画的类。 Hierarchy EventDispatcher TimeLine Index Properties scale Accessors total Methods addLabel destroy event from gotoLabel gotoTime hasListener off offAll offAllCaller on once pause play removeLabel reset resume to from to Properties scal...

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

204. laya.utils.TimeLine [ 89%]

...ll Classes | Index | Frames No Frames TimeLineProperties | Methods | Events Packagelaya.utilsClasspublic class TimeLineInheritanceTimeLine EventDispatcher Object TimeLine 是一个用来创建时间轴动画的类。 Public Properties PropertyDefined By  scale : Number = 1 缩放动画播...

来源: laya_api 发布时间: 20170929

205. laya.net.LoaderManager_API3.0 [ 89%]

...类,请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。 LoaderManager 类提供了以下几种功能: 多线程:默认5个加...

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

206. Ignored attempt to cancel a touchmove event with cancelable=false [ 89%]

Ignored attempt to cancel a touchmove event with cancelable=false 在华为荣耀20  安卓10系统下,手机 触摸点击速度快一些,会导致元素鼠标事件消失,但是舞台事件还可以执行 每次点击报下面的警告, 在源码里面加上判断后,     (e.cancela...

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

207. laya.utils.TimeLine [ 89%]

...ll Classes | Index | Frames No Frames TimeLineProperties | Methods | Events Packagelaya.utilsClasspublic class TimeLineInheritanceTimeLine EventDispatcher Object TimeLine 是一个用来创建时间轴动画的类。 Public Properties PropertyDefined By  scale : Number = 1 缩放动画播...

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

208. Ignored attempt to cancel a touchmove event with cancelable=false [ 89%]

Ignored attempt to cancel a touchmove event with cancelable=false 在华为荣耀20  安卓10系统下,手机 触摸点击速度快一些,会导致元素鼠标事件消失,但是舞台事件还可以执行 每次点击报下面的警告, 在laya.core源码里面加上判断后,     (...

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

209. loader.create加载.lh文件,如果文件不存在,也不会受到Event.Error事件 [ 89%]

loader.create加载.lh文件,如果文件不存在,也不会受到Event.Error事件 如题 2017-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 demibug 赞同来自: 按照例子里面: // 侦听加载...

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

210. WebSocket发送与接收数据(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 89%]

...实例化socket之后四个事件是我们必须监听的: ```typescript Event.OPEN :连接正常打开抛出的事件 Event.MESSAGE :接收到消息抛出的事件 Event.CLOSE :socket关闭抛出的事件 Event.ERROR :连接出错抛出的事件 ``` 上面这四个事件是必须的,这也是...

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