大约有 7 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0022 秒)
...个问题了,反复测试了很多次,结局依然是undefined。 laya.components.Script 里面定义了 /** @prop {name:poker,tips:"prefab",type:Prefab}*/ private mPokerObj: laya.components.Prefab 然后再编辑模式里面手动拖拽事先编辑好的prefab 然后再代码中 laya.utils.Pool...
来源: Laya_社区 发布时间: 20190304
...和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
...行显示不了 位图字体怎么用UI提供的图片制作 自定义Laya.Component,经代码修改其属性(不是人手修改)之后,保存prefab无变化,重新打开prefab发现改动丢失 问题状态 最新活动: 2025-03-25 18:08 浏览: 3714 关注: 2 人 野山菌 • 2025-03-26...
来源: Laya_社区 发布时间: 20250324
...Input的文本节点 从引擎代码的角度来讲,TextInput继承自UIComponent类,这个类的构造方法执行了createChildren()方法,创建了子节点 2025-03-24 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新...
来源: Laya_社区 发布时间: 20250324
...级的属性;另外使用到项目中会报:Uncaught ReferenceError: component is not defined
来源: Laya_社区 发布时间: 20171117
...设置它的 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
...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