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

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

1. laya.utils.ClassUtils_API3.0 [ 100%]

...c/Protected All Inherited Externals Only exported Menu Globals "laya/utils/ClassUtils" ClassUtils Class ClassUtils ClassUtils 是一个类工具类。 Hierarchy ClassUtils Index Properties _classMap Methods getClass getInstance regClass Properties Static _classMap _classMap: Record<string, any&gt...

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

2. laya.utils.ClassUtils [ 93%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ClassUtilsProperties | Methods Packagelaya.utilsClasspublic class ClassUtilsInheritanceClassUtils Object ClassUtils 是一个类工具类。 Public Properties PropertyDefined By  _classMap : Object[static] ClassUtils  ...

来源: laya_api 发布时间: 20170929

3. laya.utils.ClassUtils [ 93%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ClassUtilsMethods Packagelaya.utilsClasspublic class ClassUtilsInheritanceClassUtils Object ClassUtils 是一个类工具类。 Public Methods  MethodDefined By  createByJson(json:*, node:* = null, root:Node = null, custo...

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

4. 通过laya.utils.ClassUtils.createByJson创建的附加脚本不能触发owner [ 88%]

通过laya.utils.ClassUtils.createByJson创建的附加脚本不能触发owner 编辑器版本号: 1.7.19.1beta。 新建的UI F12导出后,自动生成的代码是通过this.CreateView(XXX.uiView)生成相应变量,附加脚本能正常触发owner。 但如果通过把某个UI里的一部分...

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

5. ClassUtils 谁能告诉我下这个怎么用呀? [ 87%]

ClassUtils 谁能告诉我下这个怎么用呀? 或是有谁可以告诉我下,有没有哪个方法是可以查找某个类是否存在,并返回我这个类的funtion的呀??? 2018-05-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

6. 文本竖排排版布局 [ 73%]

...:51 浏览: 1715 关注: 4 人 Laya_XS • 2017-04-08 18:03 你可以通过ClassUtils类获取,但是前提你应该吧所需要获取的类提前注册的了! asdf131 • 2017-04-08 19:43 @Laya_XS:仅获得类的名称而已, 拿不到类的全名(包括包名或模块名):(My.ux.uuxx...

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

7. TS项目,,怎么获取完全限定类名,就像as的getQualifiedClassName [ 73%]

...: https://layaair.ldc.layabox.com/api/?category=Core&class=laya.utils.ClassUtils 没有完全与as下一样用法的getQualifiedClassName,我们提供了classUtil类,需要先注册后使用! 2017-09-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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

8. 问个和引擎编辑器无关的问题,问问怎么通过一个类名(字符串)创建一个对象啊!!!!感谢真不想在找typescript了扒嗒了半天,反射竟然没有看懂,感谢了!!! [ 59%]

.../layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.utils.ClassUtils 你看是不是这个 2018-01-22 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 liwenhua 相关问题 看了其他引擎才发现 LAYA 真的太太太...

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

9. Laya2.2问题,有没有遇到的? [ 51%]

...ct';  class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none"; GameConfig.alignV = "top"; GameConfig.alignH = "left"; GameConfig.startScene = ""...

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

10. Maximum call stack size exceeded [ 45%]

...     //注册Script或者Runtime引用             let reg = Laya.ClassUtils.regClass;     reg("script/GameMain.js",GameMain);         }     }     GameConfig.width = 640;     GameConfig.height = 1136;     GameConfig.scaleMode ="fixedwidth";     GameConfig.screenMode = "none";...

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