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

大约有 1,215 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0074 秒)

471. dialog.removeSelf is not a function [ 67%]

...laneGameInfoDialogUI;。。。(关闭按钮)this.ui.ibtn_close.on(Laya.Event.CLICK,this,this.ui.close);。。。(点击之后)Uncaught TypeError: dialog.removeSelf is not a function....求助大神谢谢啦~~~ 2017-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

472. parameter 2 is not of type 'WebGLTexture'. [ 67%]

..._start = this.getChildByName('btn_start') as Laya.Image; btn_start.on(Laya.Event.CLICK,this,()=>{ // 加载资源足以播放 if(videoElement.readyState == 4){ videoElement.play(); } }); 附件 : --> demo.zip 2020-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

473. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 67%]

... addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getHeight hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable on...

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

474. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 67%]

...           Laya.stage.addChild(imag);             imag.on(Event.MOUSE_DOWN,this,onDown);             imag.on(Event.MOUSE_UP,this,onUP);         }                  private function onDown():void{             imag.startDrag();         }    ...

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

475. matter中有没有类似于unity中的OnCollision碰撞检测函数呀,用js怎么写 [ 67%]

...有。这个我给你个demo,你自己看看。 1.初始化 this.Matter.Events.on(this._engine, 'collisionActive', this.onCollision);   2.碰撞检测 private onCollision(event): void { console.log("碰撞了..");  var home = _gamePage._mainPage._playPage;  for(var i = 0; i < event.pairs.len...

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

476. laya.d3.component.animation.CameraAnimations [ 67%]

...es | Index | Frames No Frames CameraAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class CameraAnimationsInheritanceCameraAnimations KeyframeAnimations Component3D EventDispatcher Object CameraAnimations 类用于创建摄像机动画组件。 Public Pro...

来源: laya_api 发布时间: 20170603

477. 打包app,http无法设置content-type [ 67%]

...gt;, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'pos...

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

478. 鼠标事件能否在有图形的区域感应,特别是子项坐标为负数时(已经找到问题) [ 67%]

...(已经找到问题) package { import laya.display.Sprite; import laya.events.Event; public class MainUi extends Sprite { private var testPan:Sprite; public function MainUi() { super(); this.graphics.drawRect(0,0,500,500,"#fff0cc"); testPan = new Sprite(); testPan.name = "testPan"; this.addChild...

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

479. ani动画的问题 [ 67%]

...E1.7.8 json图集加载问题 关于removechild、destory、clear的问题 event自定义事件的问题 关于主程序过大的问题 问题状态 最新活动: 2017-10-11 17:21 浏览: 775 关注: 3 人 Zzz18815519 • 2017-10-11 19:27 那动画播放结束的事件怎么定义? Zzz18815519 •...

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

480. worker.js 使用问题 [ 67%]

...a.dataType || data.dataType !="imageBitmap"){             this.event(data.url,null);             return;         };         var bitmap;         var imageData=data.imageBitmap;         if (Render.isWebGL){             /*__JS__ */bitm...

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