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

大约有 2 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0011 秒)

1. laya.utils.Pool [ 100%]

...ic] 清除对象池的对象。 Pool  createByClass(cls:Class):*[static] 根据类名回收类的实例 Pool  getItem(sign:String):*[static] 根据传入的对象类型标识字符,获取对象池中已存储的此类型的一个对象,如果对象池中无此类型的对象,则返回 null...

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

2. laya.utils.ClassUtils [ 95%]

...l, customHandler:Handler = null, instanceHandler:Handler = null):*[static] 根据指定的 json 数据创建节点对象。 比如: { "type":"Sprite", "props":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "customProps":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "child":[ { "type":"Tex...

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