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

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

51. [LayaAir3]clickHandler只会执行一次,之后点击不再触发 laya.3.0.9 [ 71%]

...);                  let btn:Laya.Button = LayaUtil.GetChildByPath(this.owner, "CreatePanel/BtnCreate");                 btn.clickHandler = Laya.Handler.create(this, this.onClickCreate)                 this.drawGrid();     }      onClickCreate()     {         // ()...

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

52. List表单renderHandler问题 [ 71%]

...置once参数为false。          * @param   caller 执行域(this)。          * @param   method 回调方法。          * @param   args 携带的参数。          * @param   once 是否只执行一次,如果为true,回调后执行recover()进行回...

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

53. dialogUI 界面 [ 71%]

dialogUI 界面 this.dialog = new Laya.Dialog();  这样的 dialog 是黑色的,默认有 show  close   但是创建的 dialogUI 界面是什么东西呢?两者是否一致? 2018-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

54. JS里面定义一个函数,无法使用Laya.Handler.creat回调 [ 70%]

...义? export default class LocalTxt{ constructor() { LocalTxt.Instance = this; } onTxtLoad(aText){ console.info("dfasd"); } initTxt(){ Laya.loader.load("res/localtxt.txt",Laya.Handler.create(this, onTxtLoad),null,Loader.TEXT); } } 2019-01-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

55. laya.ui.Tree_API3.0 [ 70%]

.../clip_tree_folder.png", "resource/ui/clip_tree_arrow.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete():void { var xmlString:String;//创建一个xml字符串,用于存储树结构数据。 xmlString = "<root><item label='box1'><abc...

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

56. Timer Handler被覆盖 [ 69%]

...var mid = method.$_TID || (method.$_TID = (Timer._mid++) * 100000); return this._map[cid + mid]; }   当游戏玩的功能多时间长了,随着caller._$GID的增加,this._map里正在使用的handler被覆盖。 我们游戏有一个战斗的主循环出现了被覆盖的情况,导致游戏...

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

57. Laya.loader.create()真机不能加载3D资源,加载图片和音频可以,打开调试也没问题 [ 69%]

...载进度         Laya.loader.create(res,null,Laya.Handler.create(this,this.onProgress,null,false)); 2020-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 1605953523用户 赞同来自: 我把资源放...

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

58. handler携带的参数在回调函数里面怎么获取? [ 69%]

... 赞同来自: Laya.loader.load("res/atlas/war/hero.atlas", Handler.create(this, this.onLoad), null, Loader.ATLAS); 什么意思,, 2018-03-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 VkonSun 相关问题 Layabox 2.0 bate5 运...

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

59. laya.ui.ComboBox_API3.0 [ 69%]

...背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var comboBox:ComboBox = new ComboBox("resource/ui/button.png", "item0,item1,item2,item3,item4,item5");//创建...

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

60. TypeError: ele.render is not a function [ 68%]

...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of u...

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