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

大约有 11 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0027 秒)

1. laya.components.Prefab_API3.0 [ 100%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/Prefab" Prefab Class Prefab 模板,预制件 Hierarchy Prefab Index Methods create Methods create create(): any Defined in laya/components/Prefab.ts:14 通过预制创建实例 Returns any Globals "laya/component...

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

2. laya.components.Prefab [ 93%]

... | All Classes | Index | Frames No Frames PrefabMethods Packagelaya.componentsClasspublic class PrefabInheritancePrefab Object 模板,预制件 Public Methods  MethodDefined By  create():* 通过预制创建实例 PrefabMethod Detailcreate()method public function create():* 通过预制...

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

3. 请问一下怎样动态加载prefab [ 91%]

...个问题了,反复测试了很多次,结局依然是undefined。 laya.components.Script 里面定义了 /** @prop {name:poker,tips:"prefab",type:Prefab}*/ private mPokerObj: laya.components.Prefab 然后再编辑模式里面手动拖拽事先编辑好的prefab 然后再代码中 laya.utils.Pool...

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

4. laya.d3.core.ui3d.UI3D_API3.0 [ 89%]

...s:198 实例化一个UI3D Returns UI3D Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 _receiveShadow _receiveShadow: boolean Inherited from PixelLineRenderer._receiveShadow Defined in laya/d3/core/render/BaseRender.ts:215...

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

5. app构建后在真机中运行报错 [ 84%]

...和laya.core.js中有这个代码: *模板,预制件 */ //class laya.components.Prefab var Prefab=(function(){     function Prefab(){         /**@private */         this.json=null;     }      __class(Prefab,'laya.components.Prefab');     var __proto=Prefab.protot...

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

6. [LayaNative3]新ui制作的prefab会缩回去 [ 77%]

...行显示不了 位图字体怎么用UI提供的图片制作 自定义Laya.Component,经代码修改其属性(不是人手修改)之后,保存prefab无变化,重新打开prefab发现改动丢失 问题状态 最新活动: 2025-03-25 18:08 浏览: 3714 关注: 2 人 野山菌 • 2025-03-26...

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

7. [LayaAir3]TextInput节点的子节点Sprite为什么在getChildAt中是1的索引而不是0 [ 62%]

...Input的文本节点 从引擎代码的角度来讲,TextInput继承自UIComponent类,这个类的构造方法执行了createChildren()方法,创建了子节点   2025-03-24 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新...

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

8. 自定义UI组件,继承自laya.editorUI.graphic.DrawRect [ 57%]

...级的属性;另外使用到项目中会报:Uncaught ReferenceError: component is not defined

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

9. 如何在代码中new Poly [ 55%]

...设置它的  renderType   这样也不行 : this.imgExpedition = new component.HomeScaleFilterImg(3, 655, "home/imgExpedition.png", 0); this._sprHome.addChildAt(this.imgExpedition, 0); this.homeScaleFilterImgList.push(this.imgExpedition);  Laya.timer.once(2000, this, () => {  let dd: Laya....

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

10. TypeError: Cannot read property 'length' of null [ 55%]

...ead property 'displayObject' of null Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsR...

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