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

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

11. 网络请求添加headers后 post数据错误 [ 84%]

...是Form Data 不添加headers则正常  示例代码  var headers = [ 'C-Sign', sign ]; // this.caller = caller; this.callbackHandler = callback; // this.errcallback = errcallback; //this.http.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.http.once(Laya.Event.COMPLETE, this, th...

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

12. 脚本引入时调用函数会出现 Cannot read property 'Init' of null [ 79%]

...机生成的预制体汽车 进行回收的时候 调用Car.js中的Init(sign){ this.sign=sign; }  GameManager.js 中的调用 car.getComponent(Car).Init(carIndex.toString())  在进行回收检测的时候carIndex.toString() 提示 Cannot read property 'Init' of null   请问怎么处理 大佬...

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

13. list 添加引发问题,求助! [ 79%]

...象数组,数据输出信息没问题。 stuName是JSON对象用户名 signState是JSON对象签到状态 name_txt是list名字文本 sign_btn是list签到按钮 state_txt是list签到文本 var arr:Array = [];//JSON数据录入 for (var i:int = 0; i < studentArr.length; i++) { var ob:Object ...

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

14. Laya.Pool.recover("people", p)是什么意思? [ 71%]

...到问题多查下APIPool recover () 方法 public static function recover(sign:String, item:Object):void 将对象放到对应类型标识的对象池中。 参数 sign:String — 对象类型标识字符。 item:Object — 对象。 2016-09-21 0 1 分享 微博 QZONE 微信 laya_thkj20170801 赞...

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

15. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...rt class Pool { private _poolDic:{[key: string]: any;} = {}; private InPoolSign: string = "__InPool"; constructor() { } private static _instance: Pool = new Pool(); public static getInstance() { return this._instance; } //通过名字找到对应的对象池 getPoolBySign(sign:string): any { return ...

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

16. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 68%]

...rt class Pool { private _poolDic:{[key: string]: any;} = {}; private InPoolSign: string = "__InPool"; constructor() { } private static _instance: Pool = new Pool(); public static getInstance() { return this._instance; } //通过名字找到对应的对象池 getPoolBySign(sign:string): any { return ...

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

17. 龙骨5.0 [ 60%]

... - Out of bounds 对象池管理不同资源路径的龙骨动画时,它的sign值,必须是不同的吗? 问题状态 最新活动: 2018-03-28 14:32 浏览: 938 关注: 3 人

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

18. 资源导出问题 [ 60%]

...接翻好几倍 对象池管理不同资源路径的龙骨动画时,它的sign值,必须是不同的吗? Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug IDE动画 添加过程出现图片资源丢失 LayaAir IDE 资源窗口那块能否像...

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

19. 龙骨到底该怎么用 [ 59%]

...底是怎样的 对象池管理不同资源路径的龙骨动画时,它的sign值,必须是不同的吗? 问题状态 最新活动: 2019-04-19 15:02 浏览: 2033 关注: 2 人

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

20. 对象池使用问题 [ 59%]

...但是根据函数获取对象不懂;方法是这个 getItemByCreateFun(sign:String, createFun:Function):*不知道怎么用;请大家指导 2017-02-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying...

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