大约有 1,240 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0049 秒)
Laya_社区(920) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(43) laya_api(2) Laya2.0_api(2)
...甚至用起来要比2D中更为方便。2D中的多点触控是依托于`Event`事件中的`touches:Array`[read-only] 触摸点列表属性,这样操作起来是比较麻烦的。但是在3D中使用到的是scene场景中的`input:Input3D`3D输入属性,能在任何地方获取,使用起来...
来源: Laya2.0_文档 发布时间: 20210715
...甚至用起来要比2D中更为方便。2D中的多点触控是依托于`Event`事件中的`touches:Array`[read-only] 触摸点列表属性,这样操作起来是比较麻烦的。但是在3D中使用到的是scene场景中的`input:Input3D`3D输入属性,能在任何地方获取,使用起来...
来源: Laya2.0_文档 发布时间: 20210715
...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
...: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
...画能正常播放。 this.role = new Laya.Animation(); this.role.on(Laya.Event.MOUSE_DOWN, this, this.onDrag); 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 这种问题不用...
来源: Laya_社区 发布时间: 20180718
...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
... this.btn = this.owner; this.btn.on(Laya.Event.CLICK,this,this.cli) } cli(){ /// how to 获得text 对象,并改变text的值??? } 2020-04-12 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20200412
...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
...采用showAll后留白部分的颜色问题 mask在layaplayer中有问题 event自定义事件的问题 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 问题状态 最新活动: 2020-01-19 16:57 浏览: 2305 关注: 3 人
来源: Laya_社区 发布时间: 20200119
...}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