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

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

51. laya.display.Node [ 80%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node  setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node  timerLoop(delay:int, caller:*, method:Function, args:Array = nu...

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

52. laya.d3.core.light.DirectionLight [ 80%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

53. 多个button如何区分 [ 80%]

多个button如何区分 通过 for 循环 加入多个button 添加事件 this.emojiBut1.on(Laya.Event.CLICK,this,this.onEmojiBut1Click); 多个button 如何区分 点击的哪一个button  可以设置tag吗 或者通过监听事件透传?   附件 : --> 2017-04-25 添加评论 免费帖 --> ...

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

54. laya.d3.core.light.SpotLight [ 79%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

55. IDE 怎么获取Json数据 [ 79%]

...ueying 赞同来自: 1、如果你的.json是在资源目录下,你可以通过预加载的方式对json进行预加载,加载完成后获取json的数据,如下 Laya.loader.load("aaa.json",Handler.create(this,onLoaded),null,Loader.JSON); } private function onLoaded():void { var js:JSON=Laya.l...

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

56. laya.display.FrameAnimation [ 79%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...

来源: laya_api 发布时间: 20170929

57. var context = canvas.getContext("2d"); [ 79%]

...别? 反过来找var的问题 LAYA2.0.0beata2使用场景编辑器无法通过var属性调用 scene添加View,view里面标记的var信息会丢失 请问laya2.0的子页面嵌套,var变量如何引用 场景设置UIView的var属性不起作用 var mid=method.$_TID || (method.$_TID=(this._mid+...

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

58. 代码如何取到UI节点下的EffectAnimation然后Play [ 78%]

...无法得到子节点对象 移植了一个游戏 代码重新 写的 IDE通过.ui自动生成的ui代码报错 这样写的代码,Tween动画里面只有alpha有效果,scalex和scaley没有变化,怎么回事啊? 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in pro...

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

59. laya.d3.core.light.LightSprite [ 78%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

60. 动画状态机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 78%]

...画状态。每个状态,可以创建多个到其它状态的切换。 通过下图,可以清晰了解这四个部分的关系,如图1-1所示: (图1-1) 二、动画状态机组件 我们需要播放动画以及使用动画状态机的对象都需要添加 Animator 组件,该组件是...

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