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

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

491. laya.utils.TimeLine [ 74%]

...spatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher of...

来源: Laya2.0_api 发布时间: 20190513

492. 物体随着鼠标滑动旋转脚本 [ 74%]

...    //鼠标是否按下默认为没有按下     this.isMouseDown = false;         //旋转速度     this.rotaionSpeed = 0.00006;      this.mainCameraAnimation = null;     this.scene = null; } Laya.class(ObjectRotate, "ObjectRotate", Laya.Script);  //这是什么意思有...

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

493. 按钮属性disabled mouseEnabled bug [ 74%]

...在页面类构造函数把按钮gray设置为true,mouseEnabled设置为false ,设置一个定时器把按钮gray设置为false,mouseEnabled设置为true  页面上显灰恢复,断点也走到btn.mouseEnabled = true 但是按钮没有接受点击事件,点击的是页面的背景图 附...

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

494. label stroke 描边如何设置透明度 [ 74%]

...te的宽高和点击区域? 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 龙骨skeleton鼠标点击区域的设置 anchor锚点设置不生效 关于同为object层,层级设置无效的问题 Laya3D里的material可以设置flat sh...

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

495. [LayaAirIDE3]xcode切入切出声音不播放 [ 74%]

...nsole.log("222222 onFocus");                 SoundManager.isPlay = false;                  SoundManager.Instance.playMusic111("resources/music/test/FY-0079.wav");             });         }     }   import { JsonTool } from "src/tools/JsonTool"; import { ResourceManager }...

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

496. Sprite3D-Sprite3D加载 [ 74%]

...3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Sprite3DLoad { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL...

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

497. 如何取消列表自带的滑动效果 [ 74%]

...,你设置下下面的代码看下: list.scrollBar.touchScrollEnable=false;  list.scrollBar.mouseWheelEnable=false; 2017-09-21 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 XiaozeRain 相关问题 iphone自带浏览器页面怎么...

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

498. ScrollBar拖动结束后的回调 [ 74%]

...时间 ios原生回调问题 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 Panel中的东西左右拖动好象有问题 laya1.7.9beta版 Skeleton 类播放完成一遍后有没事件或者回调 load 加载完图集 回调函数可以传...

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

499. panel.mouseThrough = true [ 74%]

... 什么感觉无效啊,还需要其它处理吗? 我把panel visible为false是下面的元件(iamge)可以单击,但是mouseThrough  为 true 就不行, this._imgHome.mouseThrough = true; this._sprHome.mouseThrough = true; this.panel.mouseThrough = true; 附件 : --> T29_cityTest2048_-...

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

500. laya.device.geolocation.Geolocation_API3.0 [ 74%]

...所设置时长。 Static enableHighAccuracy enableHighAccuracy: boolean = false Defined in laya/device/geolocation/Geolocation.ts:36 如果enableHighAccuracy为true,并且设备能够提供一个更精确的位置,则会获取最佳可能的结果。 请注意,这可能会导致较慢的响应...

来源: Laya3.0_api 发布时间: 20231115