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

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

1. setSixSideImageSources()传入什么参数都不对呢 [ 100%]

...对,帮忙看下哪里要调整? 对象池对类怎么传参数 Laya.Handler.create 加载图片回调参数问题 子节点的 getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。参数是什么 http 请求 once 的 回调参数,如何传递和接收? IDE...

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

2. 如何给loadprogress传参数[ 96%]

如何给loadprogress传参数Laya.loader.load(myurl,Laya.Handler.create(this,this.loadComplete),Laya.Handler.create(this,this.loadprogress,["param"])); /** * 加载进度 */ private loadprogress(data:Array<any>):void{ console.log("加载进度: " + data);//加载进度: param }Laya.Handl...

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

3. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 63%]

...t);  let partPath = "res/aixin_bao.part"; Laya.loader.load(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); }  onAssetsLoaded(settings) {         // 当load数组的时候,回调函数传入参数不再是资源,可以通过以下方法获取资源   ...

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

4. Laya 绑定显示内容到骨骼动画 [ 58%]

...    this.__bind.load(GamePath.single.getSpinePath("tank_blue.sk"),Laya.Handler.create(this,this.testLoadComplete));   }      private __bind:BindSkeleton;     private testLoadComplete():void{          let source:BindSource=new BindSource("gongji");         source.gr...

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