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

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

101. laya.device.Shake [ 91%]

...ods Show Inherited Public Methods MethodDefined By  Shake()Shake event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...

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

102. laya.media.Sound [ 91%]

...ods MethodDefined By  dispose():void 释放声音资源。 Sound event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...

来源: laya_api 发布时间: 20170929

103. 构建报错,TypeScript error: node_modules/@types/node/base.d.ts' not found. [ 91%]

LayaAir引擎 LayaAir IDE 构建报错,TypeScript error: node_modules/@types/node/base.d.ts' not found. 有人遇到这个问题么?构建直接报错,无法打包!  开始编译: Tue Jan 07 2020 15:34:09 GMT+0800 (CST) -------------------------------------- [15:34:09] Working directory ch...

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

104. laya.d3.component.Component3D [ 91%]

...Component3D() 创建一个新的 Component3D 实例。 Component3D event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Strin...

来源: laya_api 发布时间: 20170929

105. laya.display.BitmapFont_API3.0 [ 91%]

...s:235 销毁资源,销毁后资源不能恢复。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...

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

106. laya.resource.Resource [ 91%]

...处理后不能恢复。 注意:会强制解锁清理。 Resource event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getLoadedResourceByIndex(index:int):Resource[static] 通过索引返回本类型已载入资源。 Resource  getLoadedResourcesCount():int[static] 本...

来源: laya_api 发布时间: 20170422

107. 程序蓝图 · LayaAir3.0文档 · LAYABOX [ 91%]

...: true, extends: "Script", construct: { params: [ { "name": "testParams", "type": "string" } ] } }) export class TestBluePrint extends Laya.Script { constructor(testParams: string) { super(); } } (图12-1) 3.2 属性 在变量前使用装饰器的标识@bpProperty,在get和set前使用装饰...

来源: Laya3.0_文档 发布时间: 20240905

108. Spine 格式转换, Error: Invalid timeline type for a slot:twoColor [ 91%]

Spine 格式转换, Error: Invalid timeline type for a slot:twoColor Spine 格式转换, 报错: Error: Invalid timeline type for a slot:twoColor 附件:Spine 原文件   附件 : --> spine_1.rar 2019-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

109. Laya.Pool.getItemByClass 闪退 [ 91%]

...Laya.Pool.getItemByClass 闪退 var fish:CFFish = Laya.Pool.getItemByClass(type,CFFish) as CFFish console.log(fish) fish.visible = true fish.init(type) 调用init方法时候闪退,错误信息是 "fish.init is not a function" "TypeError: fish.init is not a function at Function.CFSprite.reusableFi...

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

110. layaNative打包3d安卓包报错AnimationClipParser04:unknown type,网页上没问题 [ 91%]

layaNative打包3d安卓包报错AnimationClipParser04:unknown type,网页上没问题 layaNative打包3d安卓包报错AnimationClipParser04:unknown type,网页上游戏没问题,laya ide和native我已经用的最新的了,这个问题还是存在,望解答 附件 : --> 2019-07-17 添...

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