大约有 25 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0109 秒)
...0 0 分享 微博 QZONE 微信 nevercai 赞同来自: 138*****161 这就是prefab的功能了。Laya.loader.load([{url:"prefab/ButtonA.json", type:Laya.Loader.PREFAB}], Laya.Handler.create(this, ()=>{ let prefab = Laya.loader.getRes("prefab/ButtonA.json") as Laya.Prefab; let o:Laya.Button = prefa...
来源: Laya_社区 发布时间: 20190210
Pool 使用 Laya.Prefab public targetBox:Laya.Prefab; let box: Laya.Sprite = Laya.Pool.getItemByCreateFun("ItemBox", this._control.targetBox.create, this._control.targetBox); 运行报错: Cannot read property 'create' of undefined targetBox又在 control里面引用一个Prefab 2019-08-26 添加...
来源: Laya_社区 发布时间: 20190826
... enabled hideFlags id lightmapIndex lightmapScaleOffset material materials prefab ratioIgnor receiveShadow reflectionMode renderMode renderNode renderbitFlag resolutionRate scale sharedMaterial sharedMaterials sprite volume Methods _applyReflection _cloneTo _getCameraDistance _initialize _setOwner d...
来源: Laya3.0_api 发布时间: 20231115
...er,sNumber,String,Bool,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用RevoluteJoint,PrismaticJoint,Rigid...
来源: Laya2.0_文档 发布时间: 20210715
...er,sNumber,String,Bool,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用RevoluteJoint,PrismaticJoint,Rigid...
来源: Laya2.0_文档 发布时间: 20200603
...er,sNumber,String,Bool,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用RevoluteJoint,PrismaticJoint,Rigid...
来源: Laya2.0_文档 发布时间: 20200603
...er,sNumber,String,Bool,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用RevoluteJoint,PrismaticJoint,Rigid...
来源: Laya2.0_文档 发布时间: 20210714
...er,sNumber,String,Bool,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用RevoluteJoint,PrismaticJoint,Rigid...
来源: Laya2.0_文档 发布时间: 20210715
...er,sNumber,String,Bool,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用RevoluteJoint,PrismaticJoint,Rigid...
来源: Laya2.0_文档 发布时间: 20201213
... 别在目录里直接创建animation,如果你是要换图的话就在prefab里用动画编辑模式做动画 2019-06-03 1 0 分享 微博 QZONE 微信 nevercai 赞同来自: 虽然可以直接Hack,但不建议这样做。 应该考虑修改设计,为什么需要或许动画下面的节点。...
来源: Laya_社区 发布时间: 20190215