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

大约有 2,610 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0063 秒)

1001. 使用外部引擎播放layaair制作的.ani [ 66%]

...舞台 Laya.stage.addChild(tl); //播放Animation动画 tl.play(); tl.on(Event.COMPLETE, this, () => {console.log('end')}); } 2018-08-23 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zyx 相关问题 看了其他引擎才发现 LAYA ...

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

1002. replaceSlotSkinName对于spine换肤不成功 [ 66%]

...0,Laya.WebGL); this.m_templet = new Laya.Templet(); this.m_templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.m_templet.on(Laya.Event.ERROR,this,this.onError); this.m_templet.loadAni("res/spine/goblins/goblins.sk"); } private onError():void { console.log("parse error"); } private parseC...

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

1003. 为什么获取不到getBounds()的width,height [ 66%]

...获取了,可以通过加一个延迟函数进行处理抑或添加一个Event.COMPLETE函数。 参考如下: 第二个问题:this.body和this.hero的区别 this.body是Role类下的animation实例:是个Animation this.hero是Role类的实例:是个Sprite(因为Role继承自Sprite) ...

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

1004. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 66%]

...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

1005. 在Form输入用户名密码的时候 tab切换焦点 没有类似as3中tabindex设置 [ 66%]

...可以捕获大部分按键 但tab键是无法捕获的! userName_txt.on(Event.KEY_PRESS,this,tabNext,[userName_txt]); private function tabNext(e:Event,target:Node):void {       if(e.keyCode == Keyboard.TAB)      {             //无法触发 焦点直接直接到浏览器外去了(浏...

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

1006. 2.0label不改变文本内容,label颜色无法直接改变,1.0可以 [ 66%]

...  this.label.visible = true;             this.label.on(Laya.Event.MOUSE_OVER, this, this.ChangeLabelColor);             this.label.on(Laya.Event.MOUSE_OUT, this, this.ChangeLabelColor);         } 附件 : --> Test1.zip 2019-05-14 添加评论 免费帖 --> 分享 ...

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

1007. list 数据不会及时渲染 [ 66%]

...       }           private function onSelect(cardList:List, evt:Event, index:int):void         {             var cell:Box = cardList.getCell(index);             if(cell){                 if(evt.type == Event.CLICK){                      // ...

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

1008. 运行调试layaair后黑屏,用的js [ 66%]

... at onLoaded (file:///Users/moos/Company/EmersonGame/src/Game.js:43:25) at EventHandler.__proto.runWith (file:///Users/moos/Company/EmersonGame/bin/libs/laya.core.js:724:59) at ResInfo.__proto.event (file:///Users/moos/Company/EmersonGame/bin/libs/laya.core.js:494:28) at LoaderManager.__proto._endLo...

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

1009. 正交摄像机裁剪问题 [ 66%]

...p = Laya.Sprite3D.load('res/01/mfs_01.lh'); scene.addChild(sp); sp.on(Laya.Event.HIERARCHY_LOADED, this, function(){ sp.transform.localPosition = new Laya.Vector3(1, 1, 1); var scale = 1; var v3 = sp.transform.localScale; v3.x = scale; v3.y = scale; v3.z = scale; sp.transform.localScale = v3; }) //...

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

1010. LayaAPP打包后laya.webgl.j错误,浏览器测试没问题 [ 66%]

...prite.__proto._setTextureEx (http://stand.alone.version/lib ... 906:34) at EventHandler.__proto.runWith (http://stand.alone.version/lib ... 408:41) at Texture.__proto.event (http://stand.alone.version/lib ... 169:30) at Texture.__proto._onLoaded (http://stand.alone.version/lib ... 5598:8) at EventHa...

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