大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0070 秒)
... onMobile = u.indexOf("Mobile") > -1; onIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); onIPhone = u.indexOf("iPhone") > -1; onMac = /*[STATIC SAFE]*/ u.indexOf("Mac OS X") > ...
来源: Laya_社区 发布时间: 20200810
...方法只执行一次 */ onAwake(): void { this.lab.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.lab.size(500, 30); //大小 this.lab.pivot(this.lab.width/2, this.lab.height/2); //轴心点 this.lab.text = "大家好,欢迎大家来到LayaAir IDE"; //文本内容 t...
来源: Laya3.0_文档 发布时间: 20251010
...代码正常运行。 World 类里的 GetGlobal<T extends Component>(C: new () => T):T 附件里有demo 去掉了图片资源。 附件 : --> 2019-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 SE...
来源: Laya_社区 发布时间: 20190709
Cannot set property text of #<Button> which has only a getter Cannot set property text of #<Button> which has only a getter 2020-08-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠...
来源: Laya_社区 发布时间: 20200811
... this.list_rule.totalPage; let index = Math.floor(value / page) if (index > 5) index = 5; this.setCurPage(index) } public onMouse(e: Laya.Event, index: number): void { if (e.type == Laya.Event.MOUSE_DOWN) { this.m_downValue = this.list_rule.scrollBar.value; } else if (e.type == Laya.Event.MOUSE_U...
来源: Laya_社区 发布时间: 20171202
laya.debug.DebugTool,运行就报错 提示laya.debug,undefined 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 fightjjj 赞同来自: index.html <script type="text/javascript" src="libs/laya.debug...
来源: Laya_社区 发布时间: 20180110
...以修改,我在body里加上<img src = "ftl/login/bg_loading.jpg" />可以显示,,如何这个图片跟屏幕适配大小? 2017-05-09 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cuijiahao 相关问题 请问LayaAir中...
来源: Laya_社区 发布时间: 20170508
...宝小游戏 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader.load("sub1/Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.printProgress).then(()...
来源: Laya3.0_文档 发布时间: 20251010
字体渲染问题 在webGL渲染模式下 采用 <style> @font-face { font-family : im1; src : url('123.ttf'); } </style> 这种方式渲染 字体会出现渲染异常 附件 : --> layaTest.1_.7_.14beta_.rar 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180117
...Mgr.downFiles 主要说下载其他资源函数 MiniFileMgr.downFiles ->MiniFileMgr.readFile->MiniFileMgr.copyFile 保存文件 为什么在MiniFileMgr.copyFile 中没有微信客户端文件协议 wxfile 代码 if (filePath.indexOf("http://&quot;)!=-1 || filePath.indexOf("https:/...
来源: Laya_社区 发布时间: 20190222