大约有 2,311 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0053 秒)
Laya_社区(1514) Laya2.0_文档(259) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(80) Laya3.0_文档(75) Laya2.0_api(74) laya_api(70)
...articleSystem scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...
来源: Laya3.0_api 发布时间: 20231115
...ader.getRes("res/scenes/LayaScene_game/game.ls") as Laya.Scene; Laya.stage.addChild(gameScene); }, null), Laya.Handler.create(this, (progress) => { console.log("当前进度:", progress) },null,false), Laya.Scene );07-11 16:53:45.923 30921-30972/? E/jswrapper: [ERROR] Failed to invoke _runtime_re...
来源: Laya_社区 发布时间: 20190711
...his.skeleton["_renderType"] !== undefined) { this.spr_xiaoshan.addChild(this.skeleton); this.skeleton.pos(0, 0); this.skeleton.scale(0.3, 0.3); this.skeleton.play(0, true); } else { console.warn("无效的 skeleton, 跳过添加:", te...
来源: Laya_社区 发布时间: 20250928
....bold = true; ti.color = "#606368"; Laya.stage.addChild(ti); return ti; } })(); 附件 : --> TSET.zip 2019-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya...
来源: Laya_社区 发布时间: 20190814
... 错误代码: ERROR: Uncaught TypeError: Cannot read property 'addChild' of null, location: /data/user/0/com.vivo.hybrid/app_resource/com.chenxing.vivominigame/jsfile:///C:\Users\74741\AppData\Roaming\Tencent\QQTempSys\OOY5$4OW5H`8`9%(9$)T67M.gifndle.js:0:0 [ERROR] (/opt/...
来源: Laya_社区 发布时间: 20200515
...hics.drawTexture(new Laya.Texture(b)); Laya.stage.addChild(sp); let _picScale:number=1; //每点一下就缩小0.05倍 Laya.stage.on(Laya.Event.MOUSE_DOWN,this,()=>{ _...
来源: Laya_社区 发布时间: 20200422
... = 300; this.mArmature.y = 350; this.mArmature.scale(0.5, 0.5); this.owner.addChild(this.mArmature); //设置动画播放完成后,调用completeHandler继续播放下一个动画 this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void ...
来源: Laya3.0_文档 发布时间: 20251010
...ew Laya.Sprite(); ball_sprite.loadImage("common1/btn_new.png"); Laya.stage.addChild(ball_sprite); ball_sprite.scale(-1, 1, true); // !!! 如果屏蔽此行代码,球能正常显示 var ballOptions = { layaSprite:ball_sprite, render: ...
来源: Laya_社区 发布时间: 20180621
...); this.mAnimaCur.interval = 100; this.addChild(this.mAnimaCur); } var loop = true; if (anaimaname == WEAPON_ANIMA_FIRE) { this.mAnimaCur.interval = 60; loop = false; }...
来源: Laya_社区 发布时间: 20161205
...t-Teapot001.lm", Laya.Handler.create(null, function(mesh) { teapot = scene.addChild(new Laya.MeshSprite3D(mesh)); teapot.transform.position = new Laya.Vector3(0, 1.75, 2); teapot.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); })); //实例PBR材质 var pbrMat = new Laya.PBRStandardMate...
来源: Laya2.0_文档 发布时间: 20210715