大约有 3,253 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0100 秒)
Laya_社区(2450) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(82) Laya_示例(52) Laya2.0_示例(18)
...utton.clickHandler = laya.utils.Handler.create(this,onClickButton,[button],false);//设置 button 的点击事件处理函数。 Laya.stage.addChild(button);//将此 button 对象添加到显示列表。 } function onClickButton(button) { console.log("按钮被点击了。",button); } example import...
来源: Laya3.0_api 发布时间: 20231115
....Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(0.25, 20, 20))); sphere.transform.position = new Laya.Vector3(1.0, 0.25, 0.6); //圆柱体 var cylinder = sprite3D.a...
来源: Laya2.0_文档 发布时间: 20210715
...t; private touchId: number = -1; private isTouching: boolean = false; private deadZone: number = 45; private isEnabled: boolean = true; onAwake() { this.createJoystick(); this.bindEvents(); // 监听全局事件 ...
来源: Laya_社区 发布时间: 20251125
....Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); /* 球体 */ let sphere = new Laya.Sprite3D; let sphereMesh = sphere.addComponent(Laya.MeshFilter); let sphereRender = sphere.addComponent(Laya.MeshRenderer); // 创建网格 sphereMesh.sharedMesh = Laya.Primit...
来源: Laya3.0_文档 发布时间: 20251010
....Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(0.25, 20, 20))); sphere.transform.position = new Laya.Vector3(1.0, 0.25, 0.6); //圆柱体 var cylinder = sprite3D.a...
来源: Laya2.0_文档 发布时间: 20210714
...资源,如果全部加载成功,则回调参数值为true,否则为false。 * @param progress 加载进度回调。回调参数值为当前资源的加载进度信息(0-1)。 * @param type 资源类型。比如:Loader.IMAGE。 ...
来源: Laya_社区 发布时间: 20180502
...色位置 this.owner.transform.translate(new Laya.Vector3(speedX,0,speedZ),false); //播放行走动画 2018-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自: 你上传下我看看 2018-01...
来源: Laya_社区 发布时间: 20180118
...SceneUtils.createComp=function(uiView,comp,view,dataMap,initTool,alterRoot=false){ 修改#10077行 tChild=Laya.SceneUtils.createComp(node,null,alterRoot?comp:view,dataMap,initTool); hotfix.zip 2019-03-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20181123
...ourceMaps": true, "webRoot": "${workspaceRoot}", "port": 9222, "fixedPort":false }, { "name": "chrome调试", "type": "chrome", "request": "launch", "url": "${workspaceRoot}/bin/index.html", // "换成自己的谷歌安装路径,": 比如 //window 默认安装路径为: "C:/Program Files (x86)/Goo...
来源: Laya_社区 发布时间: 20180205
...SoundChannel.ts:28 播放完成处理器。 isStopped isStopped: boolean = false Defined in laya/media/SoundChannel.ts:24 表示声音是否已暂停。 loops loops: number Defined in laya/media/SoundChannel.ts:16 循环次数。 startTime startTime: number Defined in laya/media/SoundChannel.ts:20 ...
来源: Laya3.0_api 发布时间: 20231115