大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0078 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...wser.onVVMiniGame) {// _http = new HttpRequest(); _http.on(Event.PROGRESS, this, onProgress); _http.on(Event.ERROR, this, onError); _http.on(Event.COMPLETE, this, onLoaded); ////////////////////////////////////////////////////// } else { //...... } 已解决。 2020-11-23 0 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20201123
...de = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.skin, Handler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { var cb: ComboBox = this.createComboBox(this.skin); cb.autoSize = true; cb.pos((Laya.stage.width - cb.width) / 2, 100); cb.autoSize = fa...
来源: Laya2.0_文档 发布时间: 20210715
...子切换不了卡槽的图片,附件为我的demo,请帮忙看看 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplay...
来源: Laya_社区 发布时间: 20180201
...有根据layer层 目前是只能给所有碰撞器分组来检测吗? _this.scene.physicsSimulation.rayCast(_this.ray, _this._outHitResult,_this._distance,_this._collisionGroup); 2019-04-19 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20190419
...监听事件? var Index=(function(_super){ function Index(){ Index.super(this); this.data = ["1tong","2tong","3tong","4tong","5tong","6tong","7tong","8tong","9tong","1tiao","2tiao","3tiao","4tiao","5tiao"]; var _dataSource_=[]; for(var i = 0;i<this.data.length;++i) { var _data_={ skin:"Images/"...
来源: Laya_社区 发布时间: 20170914
...和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.combobox.pos(100, 100); this.combobox.labels = "item0,item1,item2,item3,item4,item5,item6,item7"; this.combobox.labelColors = "#32556b,#32cc6b,#ff0000"; this.combobox.itemHeight = 60; // itemColors格式:"悬停或被选...
来源: Laya3.0_文档 发布时间: 20251010
...有解决方案,以下为示例代码: var sprite= Laya.loader.getRes(this._stlurl) as Laya.Sprite3D; this.skill = Laya.Sprite3D.instantiate(sprite); target.addChild(this.skill); this.Play(); 这种卡顿在PC谷歌浏览器上不明显,但手机上就很明显了,另外在IDE的layaair...
来源: Laya_社区 发布时间: 20180425
TypeError: Cannot set property 'material' of undefined this.unit3D = Laya.Loader.getRes("Unity/Unit.lh") as Laya.MeshSprite3D; this.scene3D.addChild(this.unit3D); this.unit3D.transform.localScale = new Laya.Vector3(1, 1, 1); this.unit3D.transform.translate(new Laya.Vector3(0, 0, 0))...
来源: Laya_社区 发布时间: 20190907
... //设置陀螺仪的处理 Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onOrientationChange); private onOrientationChange(absolute:Boolean, info: Laya.RotationInfo):void { if (info.alpha === null) { ...
来源: Laya_社区 发布时间: 20170925
...lider节点上添加下面这段脚本 onAwake(): void { this.owner.bar.on(Laya.Event.MOUSE_UP, () => { console.log("aaa"); }) } 2025-07-11 0 1 分享 微博 QZONE 微信 Archangelᴱᴿᴵᑦ 赞同来自: this.owner.on(Laya.Event.CHANGE, thi...
来源: Laya_社区 发布时间: 20250709