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

大约有 849 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)

51. skin 大于512 的释放问题 [ 83%]

...showFight(num: number): void { if (this._sprFight) this._sprFight.graphics.clear(); this._sprFight = bigao.utils.TextrueUtils.getNumberByUrl(resourcesCenter.ResourcesPathStr.FIGHT_NUMBER_PATH_PNG, num.toString()); this._sprFight.x = 600; this._sprFight.y = 150; this.addChild(this._sprFight); } dispo...

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

52. loop 我想在回调里暂停,然后在开启 [ 82%]

... 提交 3 个回复 cuixueying 赞同来自: 暂停就是移除Laya.timer.clear,开始就是监听Laya.timer.loop,你自己控制就好! 2017-07-05 0 0 分享 微博 QZONE 微信 banying 赞同来自: Laya.timer.clear  停止了以后在怎么开始 2017-07-12 0 0 分享 微博 QZONE 微信 1...

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

53. laya.particle.emitter.EmitterBase [ 82%]

... By  advanceTime(passedTime:Number = 1):void 时钟前进 EmitterBase  clear():void 清理当前的活跃粒子 EmitterBase  emit():void 发射一个粒子 EmitterBase  start(duration:Number):void 开始发射粒子 EmitterBase  stop():void 停止发射粒子 EmitterBaseProperty Detail_emi...

来源: laya_api 发布时间: 20170929

54. Socket input流问题,烦请看下具体是什么原因 [ 82%]

...er(input.buffer,0,input.length); _buffer.pos=0; //[问题]!!!!很奇怪 用clear无法清空input //input.clear(); //必须使用下面的方式清空input while(input.bytesAvailable) { input.getByte(); } //解析buff数据 readSocketData(); 2016-12-27 1 条评论 免费帖 --> 分享 微博 QZONE ...

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

55. new Laya.Sprite();绘制图形以后,怎么删除释放资源? [ 82%]

...,我怎么从舞台删除绘制的图形和释放Sprite相关资源? clear和removeChild???具体怎么操作?   2017-11-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 charley 赞同来自: ymsdand...

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

56. laya.utils.Handler_API3.0 [ 82%]

... Index Constructors constructor Properties args caller method once Methods clear recover run runWith setTo create Constructors constructor new Handler(caller?: Object | null, method?: Function | null, args?: any[] | null, once?: boolean): Handler Defined in laya/utils/Handler.ts:23 根据指定的...

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

57. 微信小游戏渲染开放域卡顿处理 [ 82%]

...;             var post = pfUtils.postMessage;             self.clear();             post('exit', { view: self.$viewName });             // post('pause');         }         /**          * 设置界面名称          */         public set viewName(value: s...

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

58. 多个tween会影响其它精灵事件 [ 81%]

...件 为啥 我界面里面执行了多个 Laya.Tween 其中一个执行了clear,然后其它几个里面就有一个动画不执行了,完全不同的精灵,找不到原因,   Laya.Tween.to(curBoxObj.resLeft, { scaleY: 1 }, 500, Laya.Ease.elasticOut); Laya.Tween.to(curBoxObj.resRight, { sca...

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

59. 关于graphics镂空的问题https://ask.layabox.com/question/139 [ 81%]

...click redbox"); }); redBox.on("mouseover",this,function(){ redBox.graphics.clear(); redBox.graphics.drawRect(0,0,100,100,'#00ff00'); }); redBox.on("mouseout",this,function(){ redBox.graphics.clear(); redBox.graphics.drawRect(0,0,100,100,'#ff0000'); }); var guideContainer:Sprite = new Sprite(); guide...

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

60. laya.d3.core.render.command.MaterialInstancePropertyBlock_API3.0 [ 80%]

...uctor Properties INSTANCETYPE_ATTRIBUTE INSTANCETYPE_UNIFORMBUFFER Methods clear getPropertyArray setNumberArray setVector2Array setVector3Array setVectorArray Constructors constructor new MaterialInstancePropertyBlock(): MaterialInstancePropertyBlock Defined in laya/d3/core/render/command/MaterialI...

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