大约有 1,013 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature....
来源: Laya2.0_示例 发布时间: 20241002
... 微信 cuixu_xucui 赞同来自: 还是内存爆炸呀 if(this._texture){ console.log("this._texture.destroy"); this._texture.destroy(); this._texture = null; } if(this._htmlC){ this._htmlC.destroy(); } this._htmlC = this.zoomBox.drawToCanvas(RouletteTableScene.ZOOM_W, RouletteTableScene.ZOOM_TARGE...
来源: Laya_社区 发布时间: 20170822
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature =this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; //mArmature.scal...
来源: Laya2.0_示例 发布时间: 20241002
... = div.contextWidth; if(div.contextWidth > 200) div.contextWidth = 200; console.log(div.contextWidth); paopao.y = gRoomView.chatBox.height; paopao.imgSayBg.height = div.contextHeight + 26; paopao.imgSayBg.width = div.contextWidth + 60; paopao.height = paopao.imgSayBg.height + 50; paopao.width = p...
来源: Laya_社区 发布时间: 20170911
...yaMaxUI.ts" let fileContent = readFile(layaMaxUI_Path); // console.log("读取文件",fileContent) if (fileContent ) { fileContent = fileContent.replace(/Laya\.UICodeView/g,"UICodeView"); fs.writeFileSync(layaMaxUI_Path, fileCon...
来源: Laya_社区 发布时间: 20191017
...ment) { case "left": console.log(this.text + " left"); if (isFF) { alignmentText = '<text text-anchor="start" dominant-baseline="middle" '; } else ...
来源: Laya_社区 发布时间: 20180824
...{ super(); } onTriggerEnter(): void { /* ……省略若干逻辑代码 */ console.log("触发器物理事件onTriggerEnter"); } onTriggerStay(): void { /* ……省略若干逻辑代码 */ console.log("触发器物理事件onTriggerStay"); } onTriggerExit(): void { /* ……省略若干逻辑代码...
来源: Laya2.0_文档 发布时间: 20210715
... = div.contextWidth; if(div.contextWidth > 200) div.contextWidth = 200; console.log(div.contextWidth); paopao.y = gRoomView.chatBox.height; paopao.imgSayBg.height = div.contextHeight + 26; paopao.imgSayBg.width = div.contextWidth + 60; paopao.height = paopao.imgSayBg.height + 50; paopao.width = p...
来源: Laya_社区 发布时间: 20170911
...n onError(): void{ trace("parse error"); } private function play(): void { console.log("1111111111"); if(++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(this.index, false, true) } } ``` 具体效果大家可以在官网引擎事例中查看。https://layaair2.ldc2.l...
来源: Laya2.0_文档 发布时间: 20210715
...LayaNative1.0版本中,要调试项目中的JavaScript代码只能调用console.log或者alert函数。在layaNative2.0版本中正式支持使用Chrome浏览器调试JavaScript代码。可以在Chrome的调试器里对代码进行断点的添加,代码追踪等功能。 **测试App支持扫码...
来源: Laya2.0_文档 发布时间: 20210715