大约有 4,034 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0080 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...index: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) { ... this.model = animator.owner as Laya.Sprite3D;//得到Cube节点 } ... /** * 动画状态退出时执行。 */ onStateExit(): void { console.log("动画退出了"); //平移操作 let position = new Vector3(1, 1, 1); this.mode...
来源: Laya3.0_文档 发布时间: 20240910
Dialog 设置this.mouseEnabled = true;后。再次点击Dialog自动退出 Dialog 里做个按钮电脑按钮设置this.mouseEnabled = true; 然后再次点击Dialog里的元素。Dialog自动退出 2019-01-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20190130
...it: ISubmit; if (src._targets) { //生成渲染结果到src._targets上 /* 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); */ //应用并...
来源: Laya_社区 发布时间: 20210527
...0,正确的应该是55吧= =,但是得到的确是0。 代码如下: this.k = new Laya.Clip("nbdz/gameover/Clip_win.png",11, 1); this.singleNumberW = this.k.width; this.k.index = 2; console.log(this.singleNumberW+"======"+this.k.width); this.addChild(this.k); 是不是因为图片太大,c...
来源: Laya_社区 发布时间: 20170804
...c 播放 会出现延迟效果 Laya.loader.load(['remote/music/' + this.soundUrl + '.mp3'], new Laya.Handler(this, () => { this.store.isDemo = true; Laya.Scene.open("scene/Home.scene") }), ne...
来源: Laya_社区 发布时间: 20201102
...等于0 var w: number = 642; var h: number = 12; var g: Laya.Graphics = this._mask.graphics; g.clear(); if (w == 0 || h == 0) return; var points: any[] = []; points.push(0, h); points.push(0, 0); points.push(this._index, 0); points.push(this._index, h); // points.push(0, h); g.drawPoly(0, 0, po...
来源: Laya_社区 发布时间: 20221117
layaair 有没有这个方法this.getObjectsUnderPoint() layaair 有没有这个方法this.getObjectsUnderPoint(),你们都用4叉树替代这个方法? 2016-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20161123
... if (_bitmap && _sources) { this.graphics.clear(); var splitArr:Array = value.toString().split(''); for (var i:int = 0; i < splitArr.length; i++) { var te:Text...
来源: Laya_社区 发布时间: 20170601
...每次获取组件带来不必要的性能开销 thi s._loveControl = this.getComponent(LoveControl); //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame(); //点击重置按钮,重新开始 this.button_reset.on(Lay...
来源: Laya_社区 发布时间: 20190704
... measureResult=/*__JS__ */window.conchTextCanvas.measureText(this._testWord); }else { measureResult=Browser.context.measureText(Text._testWord); } this._charSize.width=measure...
来源: Laya_社区 发布时间: 20190425