大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...); pie = new Sprite(); Laya.stage.addChild(pie); Laya.timer.frameLoop(1,this,onLoop); } private var curAngle:Number = 0; private function onLoop():void { pie.graphics.drawPie(300,300,100,curAngle,curAngle+1,"#000000"); curAngle+=1; if(curAngle>360) { Laya.timer.clear(this,onLoop); } } 为...
来源: Laya_社区 发布时间: 20180725
... var handler : laya.utils.Handler = laya.utils.Handler.create(this, this.onGetStartScene); GameConfig.startScene && Laya.Scene.open(GameConfig.startScene, true, null, handler ); // open的返回值是void,所以不能通过open的返回值拿到 } o...
来源: Laya_社区 发布时间: 20181206
...leMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { const Image = Laya.Image; let dialog = new Image("res/ui/dialog (3).png"); Laya.stage.addChild(dialog); dialog.pos(165, 62.5); } } new UI_Image();module laya { import Stage = Laya.Stage; import Image...
来源: Laya2.0_示例 发布时间: 20260303
...ar shelf0 = Laya.Sprite3D.load("DoorShelf/shelf.lh"); this.scene.addChild(shelf0); shelf0.transform.translate(new Laya.Vector3(-4,1.2,35)); var shelf3 = Laya.Sprite3D.load("DoorShelf/shelf.lh"); this.scene.addChild(s...
来源: Laya_社区 发布时间: 20180301
..." has in SingletonList."; return; this._add(element); element._setIndexInList(this.length++); } 2019-10-21 0 2 分享 微博 QZONE 微信 155*****359 赞同来自: 请问vivo的调试怎么捕获这个异常信息呀? 2019-11-23 0 0 分享...
来源: Laya_社区 发布时间: 20191021
... { url: "test/TestPage.json", type: Loader.JSON }, ], Handler.create(this, this.onLoaded)); 运行报错: [warn]Retry to load: comp/image.png [error]Failed to load: comp/image.png 修改导出的TestPage.json里面对应控件引用的skin值加上对应路径 "skin":"unpack/comp/image.png"...
来源: Laya_社区 发布时间: 20171230
...物体就行了 var map: Laya.Sprite3D = Laya.loader.getRes("cj/cj.lh"); this.scene.addChild(map); var cjd0: Laya.Sprite3D = new Laya.Sprite3D(); cjd0.addChild(this.camera); map.addChild(cjd0); cjd0.addComponent(CameraMoveScript); 可是,这样添加的脚本旋转,键盘就用不了,应该怎么控...
来源: Laya_社区 发布时间: 20180410
...s:10983) 添加后 CharacterController , 使用 move 移动就报错 this.masterSp.addComponent(Laya.CharacterController); //添加组件 this.character.move(new Laya.Vector3(0 , 0 , 1))//移动,开始报错 2020-10-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20201020
...: Jim.邹 、lenovo 、Max.魚魚魚鱼魚魚 、叶子 Laya.Tween.to(this.box.transform, { localPositionX : this.box.transform.localPositionX + 8, //x坐标移动8 localRotationEulerY : 90 //角度旋转90度 }, 300) 2018-11-16 4 0 分享 微博 QZONE 微信 w1114367261 赞同来自:...
来源: Laya_社区 发布时间: 20180511
.../Assets/BakerHouse/Models/Baker_house-Baker_house.lm"],Laya.Handler.create(this, this.completeHandler)); completeHandler(): void { Laya.stage.addChild(Laya.loader.getRes("LayaScene_Scene/Scene.ls")); Laya.stage.addChild(Laya.loader.getRes("LayaScene_Scene/Assets/BakerHouse/Models/Baker_house-Baker_h...
来源: Laya_社区 发布时间: 20181221