大约有 4,034 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0078 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
... "res/ui/tree/clip_tree_arrow.png" ]; Laya.loader.load(res, Handler.create(this, this.onLoadComplete)); } onLoadComplete() { const Utils = Laya.Utils, Tree = Laya.Tree; // 组装tree的数据 let treeData = ""; for (let i = 0; i "; for (let j = 0; j "; } treeData += ""; } treeData += ""; // 解析tr...
来源: Laya2.0_示例 发布时间: 20250225
...查了一下,也就一个地方,用到,在laya.wxmini.js onCanPlay() { this.loaded = true; this.event(Laya.Event.COMPLETE); this._sound.offCanplay(null); } 估计是因为网络比较满的情况,在文件下载完毕之后,sound对象已经被销毁了,所以自己加了一个判断。 on...
来源: Laya_社区 发布时间: 20200612
代码定义动画剪辑播放报错 Uncaught Error: Animation:this clip has exist with another 代码定义动画剪辑播放报错 Uncaught Error: Animation:this clip has exist with another 附件 : --> 2017-10-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20171013
新建项目警告this class[MiniAdpter] already exist: Object {init: } 附件 : --> 2018-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qweouyang1990 赞同来自: 明白了,正常提示,有点蛋疼 2...
来源: Laya_社区 发布时间: 20180331
...源异步加载是否完成的事件? protected onCreate(): Laya.View { this.RootPanel = new ui.test.gameLayerUI(); console.log(this.RootPanel.my_laya.width); // this.RootPanel.on(Laya.Event.RENDER,this,this.bindEvent); return this.RootPanel; }说明:这是一个框架下用来创建界面的cre...
来源: Laya_社区 发布时间: 20200227
...hitRadius:Number,camp:Number,heroType:Number = 0):void { //初始化属性 this.type = type; this.hp = hp; this.speed = speed; this.hitRadius = hitRadius; this.camp = camp; this.heroType = heroType; if(!Role.cacheAs) { Role.cacheAs = true; //缓存飞机飞行动画 Animation.createFrames(["war/hero...
来源: Laya_社区 发布时间: 20170420
...on3D&name=AnimationLayerBlend))。 ```typescript //正常的动画播放 this.animator.play(this.motions[this.motionIndex], 0); //在当前动画状态和目标动画状态之间进行融合过渡播放 //第三个参数为layerIndex 层索引,没有使用混合模式,仅仅是使用0层的动...
来源: Laya2.0_文档 发布时间: 20210714
...on3D&name=AnimationLayerBlend))。 ```typescript //正常的动画播放 this.animator.play(this.motions[this.motionIndex], 0); //在当前动画状态和目标动画状态之间进行融合过渡播放 //第三个参数为layerIndex 层索引,没有使用混合模式,仅仅是使用0层的动...
来源: Laya2.0_文档 发布时间: 20210714
...t;font color="#50d337"><a name='keyword' href='#javascript' onClick='this.pic()'>恶魔</a><a name='keyword' href='#javascript' onClick='this.pic()'><font color="#65e2ff">力量</font></a>、<a name='keyword' href='#javascript' onClick='this.pic()'><fo...
来源: Laya_社区 发布时间: 20180206
...33用户 赞同来自: let out = window.app.fcUtil.worldToViewportPoint(this.owner.transform.position, window.GameMag.Camera1); this.hpNode.x = out.x - this.hpNode.width / 2 this.hpNode.y = out.y + this.hpNode.height *3.5 //this.owner.transform 3d的物体 //this.hpNode 2d的ui //3...
来源: Laya_社区 发布时间: 20201110