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

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

191. 手指点击list中的一个Item点击没反应 反复测试 发现 就是 手指稍微动一点就会点不住 手指 肯定没有鼠标精确度高 [ 51%]

... 微信 vison123 赞同来自:     /**@private */     __proto.loop=function(){         var mouseY=Laya.stage.mouseY;         var mouseX=Laya.stage.mouseX;         this._lastOffset=this.isVertical ? (mouseY-this._lastPoint.y):(mouseX-this._lastPoint.x);        ...

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

192. 加载 unity3D导入的旧版蒙皮动画时出现错误 [ 51%]

...a.d3.js:18192 Uncaught TypeError: Cannot read property '0' of undefined at Function.Utils3D._mulMatrixArray (laya.d3.js:18192) at SkinnedMeshRender.__proto._renderUpdate (laya.d3.js:37732) at Function.FrustumCulling.renderObjectCulling (laya.d3.js:6487) at Scene.__proto._preRenderScene (laya.d3.js:2...

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

193. 2D性能优化 · LayaAir3.0文档 · LAYABOX [ 50%]

...te(); sp.loadImage("res/apes/monkey2.png",0,0,0,0,Laya.Handler.create(this,function() { console.log(sp.width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 直接调用size设置: Laya.loader.load("res/apes/monkey2.png",L...

来源: Laya3.0_文档 发布时间: 20231008

194. laya.ani.swf.MovieClip_API3.0 [ 50%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

195. laya.display.FrameAnimation [ 50%]

...是在完成当前帧画面更新之后。 AnimationBase callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node  clear():AnimationBase[override] 停止动画播放,并清理对象属性...

来源: Laya2.0_api 发布时间: 20190513

196. laya.display.FrameAnimation [ 50%]

...象池,方便对象复用。 FrameAnimation clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:RenderContext, x:Number, y:Number):void...

来源: laya_api 发布时间: 20170929

197. laya.display.AnimationBase_API3.0 [ 49%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

198. laya.display.Animation_API3.0 [ 48%]

...Loader; import laya.utils.Handler; public class Animation_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation...

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

199. LayaAir开发笔记(1)五十音图连连看 [ 48%]

...copyright.pos(20, g_stat_heiht - 35); copyright.on(Laya.Event.CLICK, this, function() { window.location.href = "http://www.coderluan.com"; }); Laya.stage.addChild(copyright); 3.设置积分板和开始菜单 右下弄了个“点击开始游戏”的文本,点击只会游戏开始,这个文本...

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

200. 微信小游戏渲染开放域卡顿处理 [ 47%]

...刷新开放域界面方法,即定时器的回调方法(重点): function onTimer() {     // bitmap为纹理的bitmap属性,自行赋值     var func = bitmap._source && bitmap.reloadCanvasData;     func && func.call(bitmap); } 3.关闭渲染: 个人认为5秒后停...

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