• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,787 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0054 秒)

391. laya.d3.component.LODGroup_API3.0 [ 79%]

...例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34...

来源: Laya3.0_api 发布时间: 20231115

392. let btn:Button = cell.getChildByName("button的name"); [ 79%]

...:Button = cell.getChildByName("mItemBtn");  这样会报一个错:Type "Node" is not assignable to type "Button". Property "toggle" is missing in type "Node"; 对着官网list例子做的,不知道为啥会报这个错? 2018-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

来源: Laya_社区 发布时间: 20180621

393. 一个EffectAnimation只能创建一个动画效果吗 [ 79%]

...amp;& aniData[0]){ var data=aniData[0]; this._setUp({},data); if (data.nodes && data.nodes[0]){ this._aniKeys=data.nodes[0].keys; } } } });

来源: Laya_社区 发布时间: 20181019

394. 请问场景加载可以指定层级吗 [ 79%]

...后在节点上addchild,节点就是层。只不过cocos 用layer继承node 弄了个层的概念。 2018-07-03 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 mobile3Dbin 相关问题 2.0一不小心删了bin目录下的某个场景jso...

来源: Laya_社区 发布时间: 20180703

395. laya.d3.animation.AnimationClip [ 79%]

...imationClip 实例。 AnimationClip  _evaluateClipDatasRealTimeForNative(nodes:*, playCurTime:Number, realTimeCurrentFrameIndexes:Uint16Array, addtive:Boolean):voidAnimationClip  _parse(data:*, propertyParams:Object = null, constructParams:Array = null):AnimationClip[static] AnimationClip  add...

来源: Laya2.0_api 发布时间: 20190513

396. 希望增加基于name的节点操作 [ 79%]

...图片操作 SCRIPT445: 对象不支持此操作 如何获取animation的node节点? 如何能够clone一个node(包括node所有的子节点, 以及所有节点上的compnent,属性) 问题状态 最新活动: 2018-04-16 17:09 浏览: 862 关注: 2 人

来源: Laya_社区 发布时间: 20180416

397. Script的onDisable不会被触发 [ 78%]

...本为最新的2.12.0beta 出错原因:  上一个版本(2.11.0beta1)在Node的 _inActiveScripts 函数里直接调用了Script的onDisable, 但是Script的_onDisable没有被调用, 这个会导致Script上注册的监听器定时器不会被清理. 再之前的版本没有研究. 最新版本修...

来源: Laya_社区 发布时间: 20210423

398. 关于光源的问题 [ 78%]

...liuzhengcai 赞同来自: //加载完毕后先隐藏不需要的 this._che_node=scene.getChildByName("che"); scene.removeChild(this._che_node);   .... //根据情节加载节点 this._curnode=scene.addChild(this._che_node); 上面加载的节点光照会出问题     2017-12-15 0 1 分享 微博 ...

来源: Laya_社区 发布时间: 20171215

399. laya里面子节点设置zOrder值时,放在函数中调用 [ 78%]

...11 • 2018-03-05 16:51 那我是不是要自己排序一下 setChildIndex(node:Node, index:int):Node 这个可以吗? oy2419498011 • 2018-03-05 17:08 那我怎样可以不让他 以zOrder最大的为第一个?

来源: Laya_社区 发布时间: 20180305

400. laya.effect.EffectBase_API3.0 [ 78%]

...ctBase.ts:19 触发事件,如果为空,则创建时触发 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEdi...

来源: Laya3.0_api 发布时间: 20231115