大约有 420 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0047 秒)
Laya_社区(156) Laya3.0_api(79) Laya2.0_api(73) Laya2.0_文档(53) Laya_示例(28) laya_api(14) Laya3.0_文档(12) Laya2.0_示例(5)
...置。 Sprite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():* 克隆。 Sprite3D cloneTo(destObject...
来源: laya_api 发布时间: 20170929
...orm url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener is...
来源: Laya3.0_api 发布时间: 20231115
...oy-pma.skel").then(() => { //添加spine组件 this.spine = this.sprite.addComponent(Laya.Spine2DRenderNode); this.spine.source = "resources/boy/spineboy-pma.skel"; this.spine.animationName = "walk"; }); } } 另外,spine的GPU渲染优化,默认是开启的,不需要开发者做额外的操...
来源: Laya3.0_文档 发布时间: 20250104
...ish.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)); var anifish = fish.addComponent(Laya.SkinAnimations); anifish.templet = Laya.AnimationTemplet.load("fish/denglongyu/FBXtoolsdaochu/denglongyu.lsani"); anifish.player.playByFrame(0,0.5,2147483647,0,30,30);;//游动 新版的就是没注释的...
来源: Laya_社区 发布时间: 20171206
... = false; //加载网格碰撞器组件 var sprite3d1MeshCollider=moveArea.addComponent(Laya.MeshCollider); //官方js例子里少了下面这行 sprite3d1MeshCollider.mesh = moveArea.meshFilter.sharedMesh; 2018-01-20 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...
来源: Laya_社区 发布时间: 20180118
...orm url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener is...
来源: Laya3.0_api 发布时间: 20231115
...d(this.roleMan); //添加蒙皮动画组件 var anniRoleMan = this.roleMan.addComponent(Laya.SkinAnimations); anniRoleMan.url = "3d/man/CunMinNan.ani"; anniRoleMan.play(); 然后发现play函数报错,现在的layaair版本是1.7.19beta,请问怎么处理 2018-07-31 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180731
...容相关的链接 提交 1 个回复 拾 赞同来自: addChild 换成 addComponent 可以了给我回复下 2019-12-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 138*****519 相关问题 unity导出粒子文件问题 加载到舞...
来源: Laya_社区 发布时间: 20191203
...但是官网是英文的。 haiboannacom • 2018-01-08 18:50 @Laya_Aaron:addComponent(Laya.Rigidbody)添加刚体以后。还是不行。猎狗添加刚体直接报错啊。 Laya_Aaron • 2018-01-08 19:05 @haiboannacom:刚体在unity里面的啊
来源: Laya_社区 发布时间: 20180108
... var camera:Camera = scene.getChildByName("Main Camera") as Camera; camera.addComponent(CameraMoveScript); })); ```
来源: Laya2.0_文档 发布时间: 20210714