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

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

1161. runTime使用(ActionScript-IDE篇(AS3)-组件化开发相关) [ 64%]

... //打开调试面板(IDE设置调试模式,或者url地址增加debug=true参数,均可打开调试面板) if (GameConfig.debug || Utils.getQueryString("debug") == "true") Laya.enableDebugPanel(); if (GameConfig.stat) Stat.show(); Laya.alertGlobalError = true; //激活资源版本控制,...

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

1162. [LayaAir2] 在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 64%]

...this.htmlvideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture;...

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

1163. 官方案例里摄像机绕物体旋转脚本的问题 [ 64%]

... extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPos: Vector3 = new Vector3(); /// <summary...

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

1164. 让 CylinderMesh 支持椎体 [ 64%]

...aration,this._numberVertices,/*laya.webgl.WebGLContext.STATIC_DRAW*/0x88E4,true); this._indexBuffer=new IndexBuffer3D(/*laya.d3.graphics.IndexBuffer3D.INDEXTYPE_USHORT*/"ushort",this._numberIndices,/*laya.webgl.WebGLContext.STATIC_DRAW*/0x88E4,true); this._vertexBuffer.setData(vertices); this._index...

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

1165. 在绘制扇形CD进度条时会在IOS上百分百出现绘制不完全的BUG(有必现Demo) [ 64%]

...odePowerProgressBg.skin = this.powerProgressWhiteSprite; this.isIncPower = true; return; } } console.log('===this.currentPower: ', this.currentPower); this.NodePowerProgressBar.graphics.clear(); //参数是否为true,都一样 this.NodePowerProgressBar.graphics.drawPie(100, 100, 100, 0, this.current...

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

1166. 打开新窗口被拦截,同样的方法用egret和其他h5工程都没有问题 [ 64%]

...quot;,a); var e = document.createEvent('MouseEvents'); e.initEvent('click',true,true); a.dispatchEvent(e); a.remove(); } </script> qian • 2018-03-21 14:00 直接附件上传一下项目可以么 kvs1205 • 2018-03-21 14:10 新建一个空项目,创建一个text,添加点击事件,把...

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

1167. laya.ani.bone.Templet_API3.0 [ 64%]

...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 mBoneArr mBoneArr: Bone[] = [] Defined in laya/ani/bone/Templet.ts:83 mRootBone mRootBone: Bone Defined in laya/ani/bone/Templet.ts:82 Optional name name: string Inherited from Resourc...

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

1168. layacmd在centOS 6.5上运行出错 [ 64%]

...ayaAirCmdTool.max.js', '/data/ebuild/gongdou/gongdouH5/laya/.laya', 'clear=true', 'releasemode=normal', 'exportUICode=true', 'exportRes=true' ] type: Linux appPath: /data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/ openProject: /data/ebuild/gongdou/gongdouH5/laya/.laya l...

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

1169. 纹理集包含多个动作的时候按照技术文档写出来的不能正常播放呢? [ 64%]

...代码就不对了,播放不出来任何东西     roleAni.play(0, true, stand + "000");     //播放所有动作,如果用这一行代码就没问题,但是是所有动作轮流播放,     // roleAni.play(0, true);     roleAni.x = 100;     roleAni.y = 0; } private functi...

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

1170. laya.events.Event [ 64%]

...ned By  altKey : Boolean[read-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 Event  charCode : Boolean[read-only] 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 Event  ctrlKey : Boolean[read-only] 表示 Ctrl 键是处于...

来源: laya_api 发布时间: 20170929