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

大约有 2,654 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0066 秒)

1031. Laya2.7版本 导出来的粒子特效有一个报错, 其他几个都没问题, 请教下这个特效是哪里有问题 [ 66%]

...js:32262)     at Loader._onHierarchylhLoaded (laya.d3.js:32277)     at EventHandler.runWith (laya.core.js:1000)     at Loader.event (laya.core.js:1039)     at Loader.complete (laya.core.js:18862)     at Loader.onLoaded (laya.core.js:18818)     at EventHandler.runWith (laya.core.js:998) ...

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

1032. 同步龙骨插槽动画方案 [ 65%]

...is.mFactory = new Laya.Templet();         this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete, [aniMode]);         this.mFactory.loadAni(url);     }      private parseComplete(aniMode: number, fac: Laya.Templet): void {         this.mArmature ...

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

1033. 感觉实例之间是关联的,求指教。(已解决) [ 65%]

...ageName) { this.imag= img; this.imageName=tempImageName; this.imag.on(Laya.Event.MOUSE_UP, this, this.hit); //this.img.on(Laya.Event.) } var _proto = Poker.prototype; _proto.show = function () { this.imag.y = 50; } _proto.hit = function () { if ( this.imag.y == 50) { this.imag.y = 150; } else if(thi...

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

1034. TimeLine调用destroy报错&执行完成后回到起点 [ 65%]

...leX:1, scaleY:1, alpha:1},2000,null,0); timeLine.play(0,true); timeLine.on(Event.COMPLETE,this,this.onComplete); timeLine.on(Event.LABEL, this, this.onLabel); } private function onComplete():void { trace("timeLine complete!!!!"); timeLine.pause(); timeLine.destroy(); // Laya.timer.frameOnce(10, this...

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

1035. Sprite optimizeScrollRect = true 似乎有问题 [ 65%]

...O_TOP ? this.height : 1; this.mask.addChild(this.content); this.content.on(Event.MOUSE_DOWN, this, this.onMouseDown); this.content.on(Event.MOUSE_WHEEL, this, this.onMousewheel); } this.createText = function (_content, _fontSize, _color, _width, _autoSize, _wordWrap, _ID) { var txt = new Text(); txt...

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

1036. 我竟然被射线检测这个小功能给难了一天了 [ 65%]

...Sprite3D).transform.position) } onStart(): void {     Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDownCb) } private onMouseDownCb(e:Laya.Event):void{ console.log("点击屏幕") // console.log("相机位置",this.camera.) this.camera.viewportPointToRay(new Laya.Vector2(Laya.stage.mouseX,L...

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

1037. laya.d3.core.material.PBRSpecularMaterial_API3.0 [ 65%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

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

1038. laya.d3.core.MeshTerrainSprite3D [ 65%]

...| Index | Frames No Frames MeshTerrainSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class MeshTerrainSprite3DInheritanceMeshTerrainSprite3D MeshSprite3D RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object TerrainMeshSprite3D 类用于创建...

来源: laya_api 发布时间: 20170929

1039. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 65%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

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

1040. iPhone6 ios 8.3系统 最新的QQ 锁屏再解锁 游戏闪退 [ 65%]

...te"; } //监听QQ内置浏览器切换至后台事件  window.document.addEventListener("qbrowserVisibilityChange", function(e):void{ trace("监听QQ缩小至后台事件:"+(!e.hidden ? "前置显示":"后台隐藏")); isStopLoop = e.hidden; if (e.hidden) { _isVisibility = false; if (_this._isInput...

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