大约有 3,253 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)
Laya_社区(2450) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(82) Laya_示例(52) Laya2.0_示例(18)
...默认为打开 ``` typescript({ check: false, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}} }), ``` 改为: typescript({ ...
来源: Laya_社区 发布时间: 20191011
...类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 */ event(type: string, data: any = null) 用于派发事件,例如我们可以在代码中来派发一个CLICK事件 : //侦听ui按钮点击事件 this.uiBtn.on(Laya.Event.CLICK, this, () => { //点击后,打...
来源: Laya3.0_文档 发布时间: 20251010
...nstance = this; Laya.MouseManager.multiTouchEnabled = false; this.loadScene("main.scene"); } onEnable() { console.log('init'); } } /**This class is automatically generated by LayaAirI...
来源: Laya_社区 发布时间: 20201110
...(0, 0.6, 1.1)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); var directionLight = this.scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); Laya.loader.create("../../res/threeDimen...
来源: Laya_示例 发布时间: 20260303
...tor3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatrix.setForward(new L...
来源: Laya2.0_文档 发布时间: 20210715
...spatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher ...
来源: laya_api 发布时间: 20170929
...atcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher[override] 取消指定处理器对陀螺仪的监视。 Gyroscope offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher ...
来源: Laya2.0_api 发布时间: 20190513
...画控制器里面在某一帧会把其中一个mesh的active设置成true/false,并且动画是激活时自动播放的。 把该粒子添加到舞台加载播放,某一个条件下设置粒子active=true时,因为动画播放器是自动播放,在激活的时候会update,这时候如果r...
来源: Laya_社区 发布时间: 20220707
... "h": 299 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 133, "y": 21, "w": 137, "h": 299 ...
来源: Laya_社区 发布时间: 20170906
...qImage["guid"] = defaultImgs[this.reqImage.skin]; } this.imgList.visible = false; this.imgListBg.visible = false;} onClickChooseIcon函数触发后,会显示图片选择栏(list),点击其中某个图片后,进入onSelect函数,执行后,选择栏消失,一切正常。 第二次触...
来源: Laya_社区 发布时间: 20190318