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

大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)

441. 清理运行时不必要的内存问题 [ 79%]

...行清理无效资源 ResourceManager.systemResourceManager.autoRelease = true;//true开启内存管理,,false关闭内存管理 ResourceManager.systemResourceManager.autoReleaseMaxSize =  1024 * 1024 * 160;//1M=1024KB,1KB=1024B//如果开启nei内存管理,内存大小设置 2017-08-10 1 1 ...

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

442. UI-Clip [ 79%]

...TimerAnimation() { counter = new Clip(clipSkin, 10, 1); counter.autoPlay = true; counter.interval = 1000; counter.x = (Laya.stage.width - counter.width) / 2 - 35; counter.y = (Laya.stage.height - counter.height) / 2 - 40; Laya.stage.addChild(counter); } function showTotalSeconds() { var clip = new C...

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

443. 鼠标交互-修正交互区域 [ 79%]

...th / 2, Laya.stage.height / 2); Laya.stage.addChild(darkOrchidRect); // 为true时,碰撞区域会被修正为实际显示边界 // mouseThrough命名真是具有强烈的误导性 darkOrchidRect.mouseThrough = true; darkOrchidRect.on(Event.MOUSE_DOWN, this, onDown); } function createLogger() { lo...

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

444. 微信小游戏 子域 getFileSystemManager 问题 [ 79%]

...6 分享 微博 QZONE 微信 156*****180 赞同来自: 主域: Laya.init(true); 子域:Laya.init(true, true); 我是这样解决的 2018-06-29 0 1 分享 微博 QZONE 微信 。。.. 赞同来自: 楼主解决了么。我也碰到了这个问题,太奇怪了,绝对跟时间没关系,就是...

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

445. Uncaught TypeError: Cannot read property '_tf' of null [ 79%]

...(_guideImage );     Tween.clearAll(_guideImage);   _guideImage.destroy(true);   _guideImage.dispose();   _guideImage = null; }   public function tweenGuide1(image:Image):void {    image.x = 0;    image.y = 0;    image.scale(1,1);     Tween.to(image,{scaleX:0.5,scaleY:0.5},600,null,ne...

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

446. 多点触控的使用(ActionScript-3D基础(AS3)-LayaAir3D之鼠标交互) [ 79%]

... Sprite3D).transform.rotate(new Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ _text.text = "触控点为2"; isTwoTouch = true; //获取两个触碰点 var touch:Touch = _scene.input.getTouch(0); var touch2:Touch = _scene.input.getTouch(1); //是否为新一...

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

447. dialog第二次不弹出了 [ 79%]

...ore = new Store(); var dialogM = new Laya.DialogManager(); store.isModal = true; dialogM.open(store, true, true); store.onClosed = () => { dialogM.removeSelf(); } 不知道是不是最佳的,但是解决了 Coder张琦 • 2018-07-13 18:12 你确定这是逻辑问题? Laya_Aaron • 2018-07-1...

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

448. 半透明的矩形鼠标穿透问题 [ 79%]

...ha = 0.6; this.addLabel.mousethrough = false; this.addLabel.mouseEnabled = true; sp.addChild(this.addLabel); 仍然能够点击下面的按钮.这个要怎么处理? 2017-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2...

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

449. Ignored attempt to cancel a touchmove event with cancelable=false [ 79%]

...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 dialog通过UIConfig设置UIConfig.closeDialogOnSide = false后,点击外面依旧会关闭弹窗 LayaAirIDE1.7.17 版本,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的...

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

450. 关于打包图集时的图片默认属性与repeat的区别 [ 78%]

...性,是同一个东西吗?   如下面的代码,这行tex1.repeat = true;有什么作用?   var tex1:Laya.Texture = Laya.Loader.getRes(texturePath); tex1.repeat = true;                2018-01-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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