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

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

31. 针对2.0.0 beta5 setLoadingPage 做增强 [ 58%]

...an} closeOther 关闭其它场景 * @param {Array} param 打开场景携带参数 * @param {Laya.Handler} complete 打开场景完成回调 * @param {Laya.Handler} progress 打开场景进度回调 */ openScene(url = null, otherHandler = null, closeOther = true, param = null, complete = null, progre...

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

32. 【求助】怎么在自定义对象进行实例化的时候,给它绑定监听事件 [ 57%]

...你的onListTender(food)是有参方法你调用的时候没有传入相应参数进行对应的点击监听, 你的程序执行到这里会直接报空找不到food; 2018-04-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 tuotuo12...

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

33. 2.0 beta UI Button无法获取 [ 56%]

...标滚轮是放大开始缩小 怎样获取浏览器地址传过来的GET参数 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 如何获取图片每个像素点的RGB? [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 分享:LayaAir...

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

34. laya.ui.Button [ 56%]

...  clickHandler : Handler 对象的点击事件处理器函数(无默认参数)。 Button customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite  dataSource : *[override] 数据赋值,通过...

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

35. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 56%]

...or.scene.getSelection()[0]; //调用MyScript组件里的test方法,传入参数abc let ret = await Editor.scene.runNodeScript(node.id, node.getComponent("MyScript").id, "test", "abc"); console.log(ret); 3、自定义一个函数,并执行。例如: //下面是场景进程的代码 //注意:I...

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

36. laya.display.Sprite_API3.0 [ 54%]

...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...

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

37. laya.ui.Button [ 54%]

...  clickHandler : Handler 对象的点击事件处理器函数(无默认参数)。 Button comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite  dataSo...

来源: laya_api 发布时间: 20170929

38. List选中项下滚会变 [ 53%]

... _proto_ = ServerListView.prototype; //选择列表项时的相应时间,参数index是选中项的下标 // _proto_.onSelect = function(index){ // console.log("index",index); // } _proto_.onMouse = function(e,index){ if(e.type == Laya.Event.CLICK){ //console.log(e.type,index); if(this.selectedInd...

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

39. laya.ui.CheckBox [ 52%]

...nt clickHandler : Handler 对象的点击事件处理器函数(无默认参数)。 Button customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite  dataSource : *[override] 数据赋值,通过...

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

40. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 52%]

...擎就会帮我们加载并解码显示出来。loadImage这个方法中的参数不仅仅接收地址形式的url还接受base64和svg的格式。编译运行上面的代码我们看到下图的效果。![1](img/1.png) ​ 总结:上面的代码给我们很好的启示,在项目中我们的特...

来源: Laya2.0_文档 发布时间: 20210715