大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0050 秒)
...er=new Handler(this,onTreeHandler); function onTreeHandler(e,index) { if(e.type==Laya.Event.CLICK) { } } 2017-06-26 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 z298959 相关问题 骨骼动画播放完后的回调时间 io...
来源: Laya_社区 发布时间: 20170626
...形块要怎么处理会比较好。。。 cuixueying • 2016-12-03 21:20 if(sp1.getBounds().intersects(sp2.getBounds())) { trace("发生碰撞了"); } 你试下这个方式检测碰撞看看!
来源: Laya_社区 发布时间: 20161130
...w Laya.SphereColliderShape(0.5); //使用球型碰撞器进行形状检测 if (this.castAll) { //进行形状检测,检测所有碰撞的物体 this.scene.physicsSimulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线...
来源: Laya2.0_文档 发布时间: 20210714
...rivate function onNodeClickedHandler(source:Sprite3D):void { if (!source) return; trace(source.name); } 附件 : --> WebglRaycaster.zip 2017-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20170516
...: 没有 2018-01-15 0 0 分享 微博 QZONE 微信 xtcel5805 赞同来自: if(!thisObj["$_GID"]) thisObj["$_GID"] = Laya.Utils.getGID(); 2018-01-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 landys13 相关问题 看了其他引...
来源: Laya_社区 发布时间: 20180115
...eoLayaAir之dom元素FileLayaAir之dom元素script标签LayaAir之dom元素iframeLayaAir和原生Dom 在开发项目中,开发者难免遇到dom元素支持,但是LayaAir中不支持或者支持的不完善。那么本节我们就来看下在开发中遇到的一些技巧。 LayaAir之SVG 什么...
来源: Laya3.0_文档 发布时间: 20251010
Sprite的destroy destroyChildren() { if (this._children) { for (var i = 0, n = this._children.length; i < n; i++) { this._children[0].destroy(true); } } 这几行代码来自laya.core.js的12544行开始的,for循环里的this._children[0]是不是应该是this._children[i]?还是我的使用...
来源: Laya_社区 发布时间: 20200421
...中查看是这样的 textureArr没有被用到,而且下面才去判断if (atlasJson.meta && atlasJson.meta.image) 在textureArr读取时没有atlasJson.meta 而报错 附件 : --> 2020-05-15 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20200515
...像AS里面的 is 属性 TS项目,, 有没有像AS里面的 is 属性 if( vo is BaseVO ) 就像这样,,,, 2017-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: h...
来源: Laya_社区 发布时间: 20170926
...dByName("floor"+floor+i) as Laya.Sprite3D; if(floor1) { floor1.destroy(); console.log("destroy~~~~~"); } ...
来源: Laya_社区 发布时间: 20180514