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

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

661. 多点触控的使用(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 69%]

...甚至用起来要比2D中更为方便。2D中的多点触控是依托于`Event`事件中的`touches:Array`[read-only] 触摸点列表属性,这样操作起来是比较麻烦的。但是在3D中使用到的是scene场景中的`input:Input3D`3D输入属性,能在任何地方获取,使用起来...

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

662. 多点触控的使用(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 69%]

...甚至用起来要比2D中更为方便。2D中的多点触控是依托于`Event`事件中的`touches:Array`[read-only] 触摸点列表属性,这样操作起来是比较麻烦的。但是在3D中使用到的是scene场景中的`input:Input3D`3D输入属性,能在任何地方获取,使用起来...

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

663. 区块地图-PerspectiveWall [ 69%]

...WALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on(Laya.Event.CLICK, this, this.onStageClick); } createMap() { const TiledMap = Laya.TiledMap, Rectangle = Laya.Rectangle; this.tiledMap = new TiledMap(); this.tiledMap.createMap("res/tiledMap/perspective_walls.json", new Rectangle(0...

来源: Laya2.0_示例 发布时间: 20251218

664. 微信小游戏报错 the .lh file root type must be Scene [ 69%]

...:10) at ResInfo.onLoaded (http://127.0.0.1:62629/game/code.js:12995:61) at EventHandler.__proto.runWith (http://127.0.0.1:62629/game/code.js:711:59) at ResInfo.__proto.event (http://127.0.0.1:62629/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:62629/game/code.js:13152:11) ...

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

665. animation动画对象 无法增加鼠标事件 [ 69%]

...画能正常播放。 this.role = new Laya.Animation(); this.role.on(Laya.Event.MOUSE_DOWN, this, this.onDrag); 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 这种问题不用...

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

666. 发布Oppo小游戏屏幕适配bug [ 69%]

...i。注释掉就好了。自问自答,希望有用。 Laya.stage.on(Laya.Event.RESIZE, this, this.resize);     static resize(): void { // let w = this.config.width; // let h = this.config.height; // let screen_wh_scale = Laya.Browser.clientWidth / Laya.Browser.clientHeight; // if (Laya.stage.sca...

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

667. 初学者的提问,如何在场景中获取到对象 [ 69%]

...         this.btn = this.owner;         this.btn.on(Laya.Event.CLICK,this,this.cli)                    }         cli(){         /// how to 获得text 对象,并改变text的值???     } 2020-04-12 添加评论 免费帖 --> 分享 微...

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

668. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 69%]

...t ResInfo.onLoaded (http://127.0.0.1:59022/game/code.js:12995:61)     at EventHandler.__proto.runWith (http://127.0.0.1:59022/game/code.js:711:59)     at ResInfo.__proto.event (http://127.0.0.1:59022/game/code.js:483:28)     at LoaderManager.__proto._endLoad (http://127.0.0.1:59022/game/code.j...

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

669. 动态添加addComponent(Laya.RigidBody)的问题 [ 69%]

...采用showAll后留白部分的颜色问题 mask在layaplayer中有问题 event自定义事件的问题 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 问题状态 最新活动: 2020-01-19 16:57 浏览: 2305 关注: 3 人

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

670. 引擎中的修改意见 [ 69%]

...}else if(a.length == 1){ lang(a[0]); }else { lang(""); } isChanged = true; event(Event.CHANGE); } }public function lang(text:String, args:Array = null):void { text = langPacks && langPacks[text] ? langPacks[text] : text; if (!args || args.length <= 0) { this._text = text; } else { for (va...

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