大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0117 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...用getImageData了 //TextRender.isWan1Wan = true; this.charRender = new CharRender_Canvas(2048, 2048, TextRender.scaleFontWithCtx, !TextRender.isWan1Wan, false); TextRender.textRenderInst = this; ILaya.Laya['textRender'] = this; 必须修改bugIOS ...
来源: Laya_社区 发布时间: 20240802
...{ public sex: number = 0; public Create(): void {} public Attack(): void { this.emit('attack'); } } Manager.ts public CreateCat(): void { let self = this; let cat = new Cat(); cat.Create(); cat.on('attack', function () { self.Change(); }); this.animals.push(cat); } 2019-02-26 0 2 分享 微博 QZ...
来源: Laya_社区 发布时间: 20190226
...,然后编译报错 level=1, code=-1, info1=Execute JS Error![TypeError: this.ctx.transform is not a function. (In 'this.ctx.transform(a,b,c,d,tx,ty)', 'this.ctx.transform' is an instance of RectTransform)]: line = 6253, column = 21, sourceURL = /var/containers/Bundle/Application/2DE21169-C5AF-439...
来源: Laya_社区 发布时间: 20181009
... { var args = arguments; if (args.length == 6) { if (args[5]._nativeObj) { this.add_iiiiiii(FUNCTION_ID.TEXIMAGE2D, args[0], args[1], args[2], args[3], args[4], args[5]._nativeObj.conchImgId); } else { this.add_iiiiiiiii(FUNCTION_ID.TEXIMAGE2DCANVAS, args[0], args[1], args[2], args[3], args[4], args...
来源: Laya_社区 发布时间: 20200720
...TATIC_IMG_PATH+'progressBar.png', STATIC_IMG_PATH+'progressBar$bar.png' ]; this.isFirst = true; console.log('Gzdaze='); console.log(Gzdaze); Laya.loader.load(Gzdaze.dialogList, Handler.create(this, this.startLoaded)); 代码是这样的 报错 Access to Image at 'http://caifu-1251177394.file.myqclou...
来源: Laya_社区 发布时间: 20180208
...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function...
来源: Laya_社区 发布时间: 20151204
...r.load 加载场景报错 Laya.loader.load( 模型url, Laya.Handler.create(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is not a fu...
来源: Laya_社区 发布时间: 20181208
...pineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { trace("error"); } function parseComplete() { Laya.stage.on(Event.CLICK, this, () => { mArmature ...
来源: Laya_社区 发布时间: 20181120
MovieClip 报错 7 来, 你的代码, 修改 Laya.timer.frameLoop(1, this, this.timeHandelr); 一帧创建一个动画, 这个需求不过分吧? 附件 : --> 2018-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20180908
...取的不是具体骨个么?用了后没有生效 var bone:Laya.Bone = this.mTemplete.mRootBone.findBone("头"); let angle:number = Math.atan2(Laya.stage.mouseY - (this.y - bone.transform.y), Laya.stage.mouseX - (this.x - bone.transform.x))*180/Math.PI; angle = Math.floor(angle); bone.rotation =an...
来源: Laya_社区 发布时间: 20180607