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

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

71. 全局安装layaair2-cmd报错怎么办啊 [ 58%]

...ne whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm ERR! code 1 npm ERR! path /usr/local/lib/node_modules/layaair2-cmd/node_modules/mozjpeg npm ERR! command failed...

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

72. laya可以支持滑动手势吗 [ 58%]

...nt.MOUSE_DOWN,  Laya.stage.on(Event.MOUSE_MOVE, Laya.stage.on(Event.MOUSE_UP, Laya.stage.on(Event.MOUSE_OUT,   2017-06-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jison_ailin 相关问题 看了其他引擎才发现 LAYA 真的...

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

73. 屏幕适配怎样实现铺满全屏,又不被拉伸? [ 57%]

...需要做三步:   第一步:所有的界面元素在IDE已设置好up/bottom/left/right/centerX/centerY以及layoutEnabled属性   第二步、PC使用showall,手机使用fixedwidth模式,就是下面的custom模式,这个模式是我自己有小改动(只是设置了canvas尺寸与...

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

74. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...e: Laya.Scene3D = new Laya.Scene3D; speed: number = 0.01; constructor() { super(); } /** * @private */ protected _updateRotation(): void { if (Math.abs(this.yawPitchRoll.y) < 1.50) { Laya.Quaternion.createFromYawPitchRoll(this.yawPitchRoll.x, this.yawPitchRoll.y, this.yawPitchRoll.z, this.tempRot...

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

75. laya.ui里的tag不能赋值使用? [ 57%]

...值sh使用吗?     masterbtn.tag = 0; masterbtn.on(Laya.Event.MOUSE_UP,this,this.onItemMaster); _proto.onItemMaster = function(params){ var btn = params.currentTarget; console.log("----------------------- ",btn.tag);//我赋值是0,但这里调用获取是2?? } 2017-11-20 添加评论 免...

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

76. styles.xml报错 [ 56%]

...es construct error </div> <h3>Below is a rendering of the page up to the first error. </h3> </parsererror> </body> </html> 2017-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

77. 单选框组组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

单选框组组件(RadioGroup)一、通过LayaAir IDE创建RadioGroup组件1.1 创建RadioGroup1.2 RadioGroup属性1.3 脚本控制RadioGroup二、创建自定义的RadioGroup组件2.1 准备美术资源2.2 在IDE中创建Radio组件2.3 转换成RadioGroup容器三、通过代码创建RadioGrou...

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

78. UI-Tree [ 55%]

... {"name": "render", "right": "0", "left": "0"}}; function Item() { Item.__super.call(this); this.right = 0; this.left = 0; var selectBox = new Clip("../../res/ui/tree/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; //设置 selectBox 的name 为“selectBox”时,将被识别为树结构...

来源: Laya_示例 发布时间: 20250223

79. List翻页效果 [ 55%]

...e m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = ...

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

80. List翻页效果怎么实现 [ 55%]

...e m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = ...

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