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

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

1241. Tween.to 执行失败 [ 50%]

Tween.to 执行失败  //使精灵走到鼠标位置 function walkToMousePos(sprite){ console.log(Laya.stage.mouseX) ; console.log(Laya.stage.mouseY) ; console.log(sprite.x) ; console.log(sprite.y) ; var hDir = Laya.stage.mouseX>sprite.x? "right" : "left" ; var vDir = Laya.stage.mouseY>sprit...

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

1242. laya.display.Input [ 50%]

...de] 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取显示对象图像的实际高度。 Text hitArea : * ...

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

1243. IDE主要模块概述 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...模块就是项目列表,此处是导入或创建的项目列表,点击鼠标选中的高亮区,即可打开项目,进入编辑器模式。 效果如图2-1所示。 (图2-1) 默认的项目排列顺序是依据编辑时间的由近到远,如果项目数量较多,也可以在搜索框内...

来源: Laya3.0_文档 发布时间: 20251011

1244. exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 [ 50%]

...e undefined Warning!,this class[MiniAdpter] already exist: Object {init: } 鼠标定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 请问object层中添加的sprite怎么添加点击事件 关于SubMeshRenderElement, Can...

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

1245. laya.display.Stage [ 50%]

...de] 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取显示对象图像的实际高度。 Stage hitArea : * ...

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

1246. 请问在设计模式下制作的UI页面,到底怎么在代码里使用???官方教程不一样 [ 50%]

...方有没有考虑做个完整的DEMO 请问有没有方法能够获取“鼠标是否处于按下状态”? 请问laya有没有地图编辑器工具? liblayaair.so 总是崩溃,有没有官方人员帮忙解决一下啊 分享:定义事件派发与侦听(A页面派发 B页面侦听) ...

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

1247. 在发布UI时,资源文件夹是否可以不导出? [ 50%]

...录 发起人 kenwaters 相关问题 请问有没有方法能够获取“鼠标是否处于按下状态”? 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 如何通过命令行工具构建和发布项目 2.2.0beta4 发布微信小游戏,安卓设备...

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

1248. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 50%]

...bject' of undefined 导微信小程序报错window.focus is not a function 鼠标定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity...

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

1249. Cannot read property 'call' of undefined [ 50%]

...ndefined 运行报错 Uncaught Can not find scene:GameView.scene undefined 鼠标定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Cannot read property 'displayObject' of null Laya2.1.0 JS调用Java PlatformClass undefined...

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

1250. Uncaught Can not find class EffectAnimation undefined [ 50%]

...ion: play() 真机环境找不到window---cant find variable: window stack 鼠标定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'pr...

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