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

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

131. 源码List的一次代码错误 [ 53%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 预设怎么在代码中使用 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 请问layaair2.0-js 怎么用程序在list中添加多元素的item 将list里...

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

132. laya.display.BitmapFont_API3.0 [ 53%]

....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...

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

133. Laya.timer.frameLoop(1, this, this.aaa);对象移动会出现颤抖现象 [ 53%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现...

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

134. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 53%]

...i 赞同来自: {   "compilerOptions": {     /* Basic Options */     "target": "es2017",                          /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */     "module": "commonjs",                ...

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

135. laya.resource.HTMLCanvas_API3.0 [ 53%]

....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...

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

136. LayaNative加速器环境html启动文件规范须知 [ 53%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 图集打包找不到图集文件 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是...

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

137. 微信小游戏加载资源问题 [ 53%]

...as.height / Laya.Browser.pixelRatio); } static wxinputFocus(e) { var _inputTarget = Laya.Input['inputElement'].target; if (_inputTarget && !_inputTarget.editable) { return; } MiniAdpter.window.wx.offKeyboardConfirm(); MiniAdpter.window.wx.offKeyboardInput(); MiniAdpter.window.wx.showKeyboard...

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

138. 发布项目的时候出现TS2663错误,是在UI编辑自动生成的文件里面,是什么原因? [ 52%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to...

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

139. laya.d3.core.Sprite3D_API3.0 [ 52%]

....offAllCaller Defined in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher...

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

140. 如何通过代码控制prefab上面的时间轴动画animation? [ 52%]

...链接 提交 3 个回复 185*****013 赞同来自: 卡布 var arr:Array = target["_aniList"]; for each(var an:FrameAnimation in arr) { if(an.name=="show") { an.play(); } } 2019-02-15 1 0 分享 微博 QZONE 微信 小声飞 赞同来自: 直接用这个scene 的实例  .show.play(0) 就行了 比...

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