大约有 112 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0027 秒)
unity3d转化加载到laya中的动画只执行了一次,没有像Monkey那个重复执行动画,怎么解决?谢谢 unity3d转化加载到laya中的动画只执行了一次,没有像Monkey那个重复执行动画,怎么解决?是导出的问题还是什么?谢谢 ,我上传了我...
来源: Laya_社区 发布时间: 20170907
...2628"; this.createApes(); } createApes() { const Sprite = Laya.Sprite; let monkey2Path = "res/apes/monkey2.png"; this.ape1 = new Sprite(); this.ape2 = new Sprite(); this.ape1.loadImage(monkey2Path); this.ape2.loadImage(monkey2Path); this.ape1.pivot(55, 72); this.ape2.pivot(55, 72); this.ape1.pos(Lay...
来源: Laya2.0_示例 发布时间: 20251130
...2628"; this.createApes(); } createApes() { const Sprite = Laya.Sprite; let monkey2Path = "res/apes/monkey2.png"; let gap = 150; this.ape1 = new Sprite(); Laya.stage.addChild(this.ape1); this.ape1.loadImage(monkey2Path); // 设置轴心点为中心 this.ape1.pivot(55, 72); this.ape1.pos(Laya.stage.wi...
来源: Laya2.0_示例 发布时间: 20251130
...age.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; const monkey1Path = "https://layaair2.ldc2.layabox. ... 3B%3B Laya.loader.load(monkey1Path, Laya.Handler.create(this, function() { let monkey = Laya.loader.getRes(monkey1Path); let ape = new Laya.Sprite(); Laya.stage.addChild(ape);...
来源: Laya_社区 发布时间: 20190927
...Sprite(); img1.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png',100,100,90,90); Laya.stage.addChild(img1); img1.on(Laya.Event.CLICK,this, function(name){ console.log(name);},['图1']); var img2 = new Laya.Sprite(); img2.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/a...
来源: Laya_社区 发布时间: 20180621
... IDE 请问文档里参考代码里的 美术资源在哪下载? private monkey1:string = "res/img/monkey1.png"; private monkey2:string = "res/img/monkey2.png"; 2017-06-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20170620
...画状态设置 isliooping属性为true** ```typescript //获取精灵 var monkey = Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); this.scene.addChild(monkey); //获取角色动画组件 var ani = monkey.getChildAt(0).getComponent(Laya.Animator); //创建一个动画动作...
来源: Laya2.0_文档 发布时间: 20210715
...画状态设置 isliooping属性为true** ```typescript //获取精灵 var monkey = Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh") as Laya.Sprite3D; this.scene.addChild(monkey); //获取角色动画组件 var ani = monkey.getChildAt(0).getComponent(Laya.Animator) as Laya.Ani...
来源: Laya2.0_文档 发布时间: 20210715
...画状态设置 isliooping属性为true** ```typescript //获取精灵 var monkey:Sprite3D = Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); scene.addChild(monkey); //获取角色动画组件 var ani:Animator = monkey.getChildAt(0).getComponent(Animator); //创建一个动画动...
来源: Laya2.0_文档 发布时间: 20210715
... ape1 = new Sprite(); ape2 = new Sprite(); ape1.loadImage("../../res/apes/monkey2.png"); ape2.loadImage("../../res/apes/monkey2.png"); ape1.pivot(55, 72); ape2.pivot(55, 72); ape1.pos(Laya.stage.width / 2, Laya.stage.height / 2); ape2.pos(200, 0); //一只猩猩在舞台上,另一只被添加成...
来源: Laya_示例 发布时间: 20251130