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

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)

3101. loop 我想在回调里暂停,然后在开启 [ 54%]

...回调里暂停,然后在开启 var i = 0;  Laya.timer.loop( 500, this, function () {       i = i < (arr.length - 1) * 6 ? i + 1 : 0;       this.noticeList.scrollBar.value = i * 5        if (i % 6 == 0) {         console.log("在这里停止", i)        }       else{ co...

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

3102. laya.d3.core.particleshuriken.module.ColorOverLifetime_API3.0 [ 54%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface

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

3103. 官网的api有点看不懂,onClosed这个方法怎么调用啊 [ 54%]

...js和As3写的。 关于dialog组件,关闭后的事件 _this.onClosed(function () { console.log("动画关闭后的请求") })this指向dialog,但是点击空白区域触发不了,可以解答一下怎么调用么。 2018-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

3104. 关于打包App后Texture.getPixels此方法不能使用 [ 54%]

关于打包App后Texture.getPixels此方法不能使用 public function getPixels(x:Number, y:Number, width:Number, height:Number):Array {     if (Render.isWebGL) {        return RunDriver.getTexturePixels(this, x, y, width, height);     } else {       Browser.canvas.size(width, height)...

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

3105. laya.d3.text.TextMesh_API3.0 [ 54%]

...h" TextMesh constructor color fontSize text Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Accessor Enumeration Interface

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

3106. 官网的物理引擎demo报错运行,但是报错了。 [ 54%]

...reate: options.mouse was undefined, options.element was undefined, may not function as expected   https://layaair.ldc.layabox.co ... gshot 2018-01-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来...

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

3107. JS中关于按钮注册监听后在处理函数访问不到类成员变量的问题 [ 54%]

...a.Event.CLICK, null, this.OnLoginClick); LoginView.prototype.OnLoginClick= function() { this.dlg.setContent("暂时无法登录"); }; 解决方法式在第一行代码第二个参数一定要传this(被某老师坑惨) 如这样: this.btnLogin.on(Laya.Event.CLICK, this, this.OnLoginClick); 2018-01...

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

3108. LayaAir如何集成到java的web程序中 [ 54%]

...web版本没问题,有DEMO 导微信小程序报错window.focus is not a function 微信小程序 发布后缺少app.json文件 程序字描边 问题状态 最新活动: 2017-08-07 14:47 浏览: 1000 关注: 2 人 xuexiaorui • 2017-08-07 14:53 不需要引入layabox特有的js么? cuixueying ...

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

3109. laya.utils.SpriteUtils_API3.0 [ 54%]

...balPosAndScale getTransformRelativeToWindow Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method

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

3110. 如何获取list下单元格的坐标点? [ 54%]

...dler方法来获取 list.mouseHandler=new Handler(this,onClick); } private function onClick(e:Event,index:int):void { if(e.type==Event.CLICK) { trace("xy:"+list.getCell(index).x,list.getCell(index).y); } }上面的坐标是相对于list本身的,如果你想取得全局坐标可以通过localToGlo...

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