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

大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0081 秒)

441. 鼠标交互-修正交互区域 [ 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_示例 发布时间: 20241001

442. 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

443. 多点触控的使用(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

444. 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

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

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

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

446. 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

447. 3D变换 · LayaAir3.0文档 · LAYABOX [ 78%]

...否局部空间。 */ translate(translation: Vector3, isLocal: boolean = true): void { if (isLocal) { Matrix4x4.createFromQuaternion(this.localRotation, Transform3D._tempMatrix0); Vector3.transformCoordinate(translation, Transform3D._tempMatrix0, Transform3D._tempVector30); Vector3.add(this.localPos...

来源: Laya3.0_文档 发布时间: 20230821

448. 关于打包图集时的图片默认属性与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

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

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

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

450. Laya2 FlashBuilder编译配置已经不同,请使用这个! [ 78%]

...译命令,请使用 "${project_loc}\asconfig.json;iflash=false;chromerun=true;quickcompile=true;out=.laya/temp.js;subpath=" 代替官方教程中的配置!   配置中的true和false大家酌情修改。   ------------------------------ 发现这个只是一个步奏,后面还要把temp.js...

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