大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0047 秒)
...下: Laya.ResourceVersion.addVersionPrefix = function(originURL){ if (Laya.ResourceVersion.manifest && Laya.ResourceVersion.manifest[originURL]) return Laya.ResourceVersion.manifest[originURL]; return originURL; } 官方版本的代码在manifest[originURL]存在时...
来源: Laya_社区 发布时间: 20171114
...meLoop(1,this,Handlre.create(this,onLoop)) public funciton onLoop():void { if(ani.index==2) { trace("ani已经播放到第二帧了"); } }
来源: Laya_社区 发布时间: 20161214
...icsSimulation.rayCast(this.ray,this.outHitResult); //如果碰撞到物体 if (this.outHitResult.succeeded) { //删除碰撞到的物体 this.text.text = "碰撞到了" + this.outHitResult.collider.owner.name ; console.log("碰撞到物体!!") } } ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
...icsSimulation.rayCast(this.ray,this.outHitResult); //如果碰撞到物体 if (this.outHitResult.succeeded) { //删除碰撞到的物体 this.text.text = "碰撞到了" + this.outHitResult.collider.owner.name ; console.log("碰撞到物体!!") } } ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
...container 拿去替换掉当前的容器元素,清屏就可以继续使用 if (ls.Browser.container) { const container = document.getElementById('b-layabox') container.parentNode.replaceChild(ls.Browser.container, container) } else { ls.Browser.container = document.getElementById('b-layabox') } ...
来源: Laya_社区 发布时间: 20190520
...ot read property '_tf' of null showAni(panel:Laya.Box) { if (!panel.contains(this)) { panel.addChild(this); this.pos(0,110); } let i = 1; this.ani1.play(0, false);//出错了 ...
来源: Laya_社区 发布时间: 20170614
...n('end',list,scrollBarHandler) function scrollBarHandler(){ if(this.scrollBar.value == this.scrollBar.max){ var that = this; setTimeout(function(){ that.addItem("../../res/ui/listskins/5.jpg"); ...
来源: Laya_社区 发布时间: 20170912
...aya.Scene3D).physicsSimulation.rayCast(ray,this.outHitResult); if(!this.outHitResult.succeeded){ return false; } return this.outHitResult.collider } 然后使用方法 let obj = this.onGround() let isGround = obj == this.rigidbody; 这...
来源: Laya_社区 发布时间: 20190905
...ene.physicsSimulation.rayCast(_ray,_outHitResult); //如果碰撞到物体 if (_outHitResult.succeeded) { //删除碰撞到的物体 text.text = "碰撞到了" + _outHitResult.collider.owner.name ; trace("碰撞到物体!!") } } ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
...this,this.onLoop.bind(this)); } private function onLoop():void { if(this.stop){ Laya.timer.clear(this,this.onLoop.bind(this)); // } } 2017-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20171108