大约有 58 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0043 秒)
...的链接 提交 4 个回复 cuixueying 赞同来自: 建议你可以看下ClassUtils类的API! 2017-08-14 0 0 分享 微博 QZONE 微信 132*****180 赞同来自: var cls:* = ClassUtils.getClass("TestView"); Laya.stage.addChild(cls); 我这个说cls是空 2017-08-14 0 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170814
...上代码: Laya.ILaya.regClass(WXOpenDataViewer); Laya.ClassUtils.regClass("laya.ui.WXOpenDataViewer", WXOpenDataViewer); Laya.ClassUtils.regClass("Laya.WXOpenDataViewer", WXOpenDataViewer); 2019-08-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20190813
...容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 在引擎里用ClassUtils这个类就可以 2017-08-19 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zhouyilb 相关问题 两个对象new了一个相同的对象,调用第...
来源: Laya_社区 发布时间: 20170819
...n var Game = (function(_super){ function Game() { Game.super(this); } Laya.ClassUtils(Game,"Game",_super) return Game; })(ui.GameUI) 2017-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 ...
来源: Laya_社区 发布时间: 20171012
...会报错 大佬们请问下图片不支持scaleX为负数吗,报错 Laya.ClassUtils.getInstance这个传入类名创建出来的实例还是null ios内购接入 - IMarket版本去了,求oc部分调用,和js部分的传入。 tiledmap 创建的时候是不是不能直接传入一个json对象 ...
来源: Laya_社区 发布时间: 20200420
... 2021-01-21 0 0 分享 微博 QZONE 微信 唐波 赞同来自: if (!Laya.ClassUtils.getClass('Laya.Text')) { Laya.ClassUtils.regClass('Laya.Text', Laya.Text); } 2021-04-22 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Fico 相关问题...
来源: Laya_社区 发布时间: 20201125
...{isSuccess}`) console.log("所有已注册类:"); const classMap = (Laya.ClassUtils as any)._classMap; for (const key in classMap) { console.log(` ${key}:`); } const GCtrClass = Laya.ClassUtils.getClass("GCtr"); if (!GCtrClass) { console.error("未找到 GCtr 类"); return; } // 3. 直接添...
来源: Laya_社区 发布时间: 20251230
... 导致代码找不到。 于是添加代码在文件42292行添加 Laya.ClassUtils.regClass("Rigidbody3D", Rigidbody3D); // add by ning at 2019-07-31 16:40 问题解决 附件 : --> 2019-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20190731
...port Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { export class TestSceneUI extends Laya.Scene { public scoreLbl:Laya.Label; public tipLbll:Laya.Label; constructor(){ super()} createChildren():void {...
来源: Laya_社区 发布时间: 20190402
.../layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.utils.ClassUtils 你看是不是这个 2018-01-22 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 liwenhua 相关问题 看了其他引擎才发现 LAYA 真的太太太...
来源: Laya_社区 发布时间: 20180122