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

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

61. 为什么动画设置大小不统一 [ 64%]

...idth/bounds.width,img.height/bounds.height) 这里我获得动画的边界 获取得到 然后img的宽高都是80 我想设置每个动画宽高都为80 这样设置为什么不能实现? 2017-06-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

62. Dialog限制拖动区域有什么方法 [ 64%]

...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? Dialog:屏蔽点击Dialog之外的区域关闭弹框 如何设置Sprite的宽高和点击区域? iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是...

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

63. laya2.2 导出场景物理碰撞问题 [ 62%]

...在laya中显示不正常 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 求指点3d射线碰撞和UI点击穿透的问题 问题状态 最新活动: 2019-09-27 09:57 浏览: 1695 关注: 4 人

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

64. 急急急,如何设置按钮点击加载ani [ 62%]

...ani.play();             trace(ani);             //获取图片边界得到尺寸,然后把中心点放到中间,默认在左上角             var bounds:Rectangle = ani.getGraphicBounds();             ani.pivot(bounds.width / 2, bounds.height / 2)...

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

65. [LayaAir3]Area2D使用transformPoint方法返回的位置点偏移 [ 60%]

...更新-问题解答(最新版本:1.7.16) 请问有没有方法能够获取“鼠标是否处于按下状态”? sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用...

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

66. laya.d3.core.SkinnedMeshRenderer_API3.0 [ 51%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

67. laya.d3.core.SimpleSkinnedMeshRenderer_API3.0 [ 51%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

68. 角色控制器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...代码逻辑中调用实现。 4.1 角色位置 position 角色位置用于获取和设置角色控制器的位置,通常应用于获取角色当前位置,或者设置角色位置初始化(例如出生点与传送点)等需求。 代码设置示例如下: const { regClass, property } = Lay...

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

69. 【简单跑酷--JS版】---Lv.6 终篇 [ 32%]

...s.maxRight = 0; //如果不开启autoSize 父容器的宽度和高度无法获取 this.autoSize = true; //初始化的时候将坐标放到屏幕右边 this.x = Config.GameWidth; //y坐标取一个随机值 为什么是32 因为我们的整个素材是 32 * 20 拼起来的 this.y = 32 * 6 + 32 * par...

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

70. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 32%]

...s.maxRight = 0; //如果不开启autoSize 父容器的宽度和高度无法获取 this.autoSize = true; //初始化的时候将坐标放到屏幕右边 this.x = 852; //y坐标取一个随机值 为什么是32 因为我们的整个素材是 32 * 20 拼起来的 this.y = 32 * 6 + 32 * parseInt(8 * Mat...

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