大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...Laya.Handler.create(this, fGameLoad), Laya.Handler.create(this, onLoading, null, false), null, 1, true, sGameMark, false); Laya.loader.on(Event.ERROR, this, onError); 预加载资源添加了完成 进度 和失败监听 在手机上有时加载进度会卡在某个数值不动 不会触发加载...
来源: Laya_社区 发布时间: 20161228
...oundManager.playSound("sound/bg1.mp3", 0); Laya.stage.on(Laya.Event.FOCUS, null, function(){ console.log("获取焦点") Laya.SoundManager.playSound("sound/bg1.mp3", 0); }) Laya.stage.on(Laya.Event.BLUR, null, function(){ console.log("失去焦点") }) 2018-08-07 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20180807
.../d3/core/trail/TrailSprite3D.ts:36 Parameters Default value name: string = null Returns TrailSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 Optiona...
来源: Laya3.0_api 发布时间: 20231115
...则触发一次该回调就会被回收 Handler.create(this, onProgress, null ,false) 2018-04-28 0 0 分享 微博 QZONE 微信 176*****233 赞同来自: hander写成new Handler(this, onProgress) 或 Handler.create(this, onProgress, null ,false) 2018-04-28 0 0 分享 微博 QZONE 微信 一点...
来源: Laya_社区 发布时间: 20180428
...机报错,报错错信息如下 Cannot read property 'HALF_FLOAT_OES' of null;at requestAnimationFrame callback function TypeError: Cannot read property 'HALF_FLOAT_OES' of null at RenderTexture._texImage2D (game.js:18:184542) 引擎源代码出错位置如图: 浏览器和微信IDE调试还...
来源: Laya_社区 发布时间: 20190902
...rite--") return; } if(!style._tf) { trace("----sprite--_tf is null--"); return; } if (style._tf.scaleX !== value) { style.setScaleX(value); _changeType |= CHG_VIEW; _tfChanged = true; conchModel && conchModel.scale(value, style._tf.scaleY); _renderType |= Rend...
来源: Laya_社区 发布时间: 20170608
...lor = "#232628"; this.h1 = Laya.Handler.create(this, this.loadPicComplete, null, true); Laya.loader.load("res/img/1.png", this.h1); } private loadPicComplete(): void { Laya.timer.once(2000, this, this.actT); } private actT(): void { this.h2 = Laya.Handler.create(this, this.loadPicComplete, null, tru...
来源: Laya_社区 发布时间: 20171221
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from AnimationBase.viewport Defined in laya/display/Sprite.ts:1832 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提...
来源: Laya3.0_api 发布时间: 20231102
... /* this._submits[this._submits._length++] = SubmitCanvas.create(src, 0, null); _curSubmit = SubmitBase.RENDERBASE; //画出src._targets //drawTexture(src._targets.target.getTexture(), x, y, width, height, 0, 0); */ //应用并清空canvas中的指令。如果内容需要重画,RenderSprite会给...
来源: Laya_社区 发布时间: 20210527
...自: 这个销毁是从显示列表和显存中销毁,你把_bottomBtn置null,就OK了! 2017-03-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Richer 相关问题 两个对象new了一个相同的对象,调用第一个的一...
来源: Laya_社区 发布时间: 20170328