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

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

71. 精灵添加名称 [ 80%]

...unction onsp(e:Event){              console.log("监听到按钮"+e.target);              console.log((e.target.getChildAt(0) as Sprite).name);              console.log(e.target.name)   }   输出如下图所示    附件 : --> 2017-03-30 添加评论 免费帖 --> 分享 ...

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

72. LayaAir引擎之webGl之bindTexture: attempt to bind a deleted texture [ 80%]

...nd a deleted texture 源码为     WebGLContext.bindTexture=function(gl,target,texture){             gl.bindTexture(target,texture);             WebGLContext.curBindTexTarget=target;             WebGLContext.curBindTexValue=texture;         } 看看有那们高人...

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

73. 求绘制遮罩会引起黑屏的解决办法 [ 80%]

...gressvalue.mask = this.vmask;   this.changevalue = function(value) { this.targetvalue = value; target = parseInt(360 * value - 90);  this.vmask.graphics.clear(); if(target == -90){ //this.vmask.graphics.drawPie(0, 0, 20, -90, -90, "#000000"); this.vmask.graphics.drawPie(0, 0, 20, -90, -89, "#00000...

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

74. UI-RefreshList [ 79%]

...ind(){ return this.scrollBarIsStop; } onListMouse(e, index){ console.log(e.target.name); if (e.type == Event.MOUSE_DOWN) { this.mouseDown = true; //如果单元格已经展开,则先恢复 if (this.itemIsOpen) { this.itemIsOpen = false; this.itemOpenId = -1; Tween.to(this.openedItem, { "x": 0 }, 5...

来源: Laya2.0_示例 发布时间: 20241001

75. laya.utils.Tween.to的第一个参数可以是个label? [ 79%]

... * 缓动对象的props属性到目标值。          * @param    target 目标对象(即将更改属性值的对象)。          * @param    props 变化的属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplet...

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

76. 按钮点击的位置发生偏移 [ 78%]

... 解决了这个问题  如果是根据父级div定位 可以通过 var target=document.getElementById('div-id'); this._point.setTo((e.pageX || e.clientX)-target.offsetLeft,( e.pageY || e.clientY)-target.offsetTop); 2021-05-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

77. laya.effect.FadeOut_API3.0 [ 77%]

...Complete delay duration ease eventName owner repeat runInEditor scriptPath target Accessors awaked destroyed enabled hideFlags id Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors...

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

78. laya.effect.FadeIn_API3.0 [ 77%]

...Complete delay duration ease eventName owner repeat runInEditor scriptPath target Accessors awaked destroyed enabled hideFlags id Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors...

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

79. 循环添加一组按钮事件无法正常使用 [ 76%]

...           trace("mouseEvent");             trace("e "+e.target);             switch (e.type)             {                 case Event.MOUSE_DOWN:                     trace("press");                     e.target.startDrag()...

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

80. mac 报错 [ 76%]

...t to runtime process,timeout after 10000ms -(reason: cannot connect to the target :connect to the target :connect Econnrefused 127.0.0.1:9222) 2018-03-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron ...

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